User Profile

Collapse

Profile Sidebar

Collapse
subodheee
subodheee
Last Activity: Feb 3 '08, 05:57 AM
Joined: Jan 30 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • subodheee
    replied to i have problem in implementing
    in Perl
    i have a doubt in perl for comparing elements of a file.

    i want to compare elements of a file , after extracting op, offset ,below given information, i want to implement using hashes like comparing first line op,offset with all other lines op,offset if match equal else no see below, i extracted op,offset took in to array like the code shown below

    [code=perl]
    use strict;
    #use warnings;
    foreach(@file_a rray)...
    See more | Go to post
    Last edited by numberwhun; Jan 31 '08, 02:29 PM. Reason: add code tags

    Leave a comment:


  • subodheee
    replied to i have problem in implementing
    in Perl
    ,

    yes i have seen ur reply but not good . see mail to u in this forum...
    See more | Go to post

    Leave a comment:


  • subodheee
    replied to i have problem in implementing
    in Perl
    i want to implement till 15 processes ,thats why...
    See more | Go to post

    Leave a comment:


  • subodheee
    replied to i have problem in implementing
    in Perl
    perl scripting

    i want to implement in a generic way if more than 2 processes are there than i need to compare process 2 to process1 ,when i reach to process 3 that should compare with process 2 and process1 if any of the process contains that op,offset than in process 3 i should type as equal .can any one suggest,
    See more | Go to post
    Last edited by subodheee; Jan 31 '08, 03:22 AM. Reason: i am attaching text file containig data

    Leave a comment:


  • subodheee
    replied to i have problem in implementing
    in Perl
    I tried with this its not working ,its just printing process and are same ,that more than 9k times ,.............i also did same thing like
    [code=perl]
    if($file_array[$i] =~ /process0/)
    {
    for(my $j=0;$j<128;$j+ +)
    {
    @array = split(" ", $file_array[$i+2+$j]);
    @scull = $array[1]."\t".$array[4];
    #print "\n",@scull ;...
    See more | Go to post
    Last edited by numberwhun; Jan 30 '08, 04:08 PM. Reason: fix top posting and add code tags

    Leave a comment:


  • subodheee
    started a topic i have problem in implementing
    in Perl

    i have problem in implementing

    i have a problem in implementing script,i have to extract from below data op,offset,and i need to compare the if same offset,same op repeats in other process i need to make it as same,else no .please suggest how to do or how to identify same op ,offset things.see below

    op means ld,st like that,offset means the last one.

    sample code to extract
    [code=perl]
    if($file_array[$i] =~ /process 1/)
    ...
    See more | Go to post
    Last edited by numberwhun; Jan 30 '08, 04:06 PM. Reason: add code tags
No activity results to display
Show More
Working...