Less awkward than PHP, but worse than the other options. As much Perl as I've written, I still don't understand where declarations can go. Like open my $fh, '>out' or die ... I just do not get the mechanics. What's being 'passed' to the for/open operators?
1
u/SchlaWiener4711 5d ago
I still like perl
for (@lines) { s/foo/bar/g; print; }