Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
tn%open(FILE1,"/tmp/file1"); open(FILE2,"/tmp/file2"); while(<FILE1>){ $var = $_; while(<FILE2>){ #compare $var against new $_ if($var eq $_){ print "$_ matched!\n"} } }
Edit: 2001-03-02 by neshura
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Double While!
by zigster (Hermit) on Mar 01, 2001 at 22:16 UTC | |
|
Re: Double While!
by mirod (Canon) on Mar 01, 2001 at 22:20 UTC | |
by tilly (Archbishop) on Mar 15, 2001 at 17:45 UTC | |
|
Less whiles more wiles :^)
by frankus (Priest) on Mar 15, 2001 at 16:54 UTC |