Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Searching for two elements in two different lines

by jwkrahn (Monsignor)
on Aug 31, 2013 at 05:01 UTC ( #1051681=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #use warnings;
  2. or download this
    my $count = 0;
  3. or download this
    my ($el1,$el2,$output,$input);
    my (@data,@file2_data,@array_2,@data_1,@array_4,@data_4,@array_5,@arra
    my ($marc_data,$marc_add,$V_output,$join_1,$join_2,$join_3,$join_4);
    my ($data,$address,$stage_output,$element2,$marc_data_1,$marc_add_1,$j
    my ($element_4,$file3_data,$file3_add,$dataout,$marc_array,$file3_data
  4. or download this
    open my $fh2, '<', $file2 or die "Can't open $file2: $!"; #XX.file2 fi
    open my $fh3, '<', $file3 or die "Can't open $file3: $!"; #xx.file3 fi
    open my $fh6, '<', $file3 or die "Can't open $file2: $!"; #XX.file2 fi
    my @array_7 = <$fh6>;
  5. or download this
                  $join_1 = join (" ", ("$input_1","$V_output","$marc_data
        $final_join = join (" ",("$input_2","$output_2","$data","$address"
        $final_join = join (" ",("$input_2","$output_2","$data","$address"
  6. or download this
    use strict;
    printf $fh4 "%-25s %12s %4s %6s %-30s %30s %2s %4s %20s %20s\n", ( spl
    +it )[ 0 .. 3, 7 .. 12 ] for @array_6;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051681]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2015-11-27 11:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (726 votes), past polls