wanderingM has asked for the wisdom of the Perl Monks concerning the following question:
foreach $record (@BLIST) { open(BAN, $record) || &Error($!); @BAN = <BAN>; close BAN; foreach $line (@LOOP) { $line =~ s/FNAME/$record/; $line =~ s/BANNER/@BAN/; print $line; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Loops and Pattern Matching
by runrig (Abbot) on Sep 26, 2001 at 23:34 UTC | |
|
Re: Loops and Pattern Matching
by tommyw (Hermit) on Sep 26, 2001 at 23:37 UTC | |
|
Re: Loops and Pattern Matching
by dragonchild (Archbishop) on Sep 26, 2001 at 23:48 UTC |