User Profile

Collapse

Profile Sidebar

Collapse
amit1mtr
amit1mtr
Last Activity: Dec 18 '12, 06:08 AM
Joined: Dec 6 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to merge columns from two different files in perl?

    Hi,

    I have written a following perl script to read particular entities from a text file and avg their timestamp.( I have attached this code as perfresult.txt)

    Code:
    use strict;
    
    my %retrieve;
    my $count = 0;
    
      my $file1 = 'a1.txt';
      open (R, $file1) or  die ("Could not open $file1!");
    
      while (<R>) {
    
            next unless /^*Retrieve_generic_/
    ...
    See more | Go to post
    Last edited by acoder; Dec 15 '12, 09:46 PM. Reason: Fixed code tags

  • Add same columns of a file and then compare two file contents

    I have two files.

    p10.txt

    perform testing
    Date: Nov-29-2012
    Host: amg
    Machtype: x86e_win64
    mode: 7
    ver: 1400
    Build : A-01-10

    -------------------------------------------------------------------
    testcase Version x-20-17
    -------------------------------------------------------------------
    Retrieve_generi c_assembly_(CP) 00:01:23...
    See more | Go to post
    Last edited by Meetee; Dec 6 '12, 08:53 AM. Reason: use code tags <code/> around your code
No activity results to display
Show More
Working...