in reply to Re^4: matching POD footnote
in thread matching POD footnote
I think the anonymous monk was wanting you to think in more detail about what the following does:
s/$Npod/$N$1$n/s for @file;
You might write that in longhand as:
foreach my $line (@file) { $line =~ s/$Npod/$N$1$n/s; }
In other words, it's acting on one line at a time. The only pod footnote in your example input was split over multiple lines.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: matching POD footnote
by anek77713 (Acolyte) on Jul 18, 2013 at 09:07 UTC | |
by Anonymous Monk on Jul 18, 2013 at 09:32 UTC | |
by anek77713 (Acolyte) on Jul 18, 2013 at 09:40 UTC |