in reply to Awk usage in perl

We all have our different needs. Luckily for you, there is the a2p program distributed with Perl which converts an awk program to Perl.

Replies are listed 'Best First'.
Re^2: Awk usage in perl
by tilly (Archbishop) on Aug 25, 2008 at 14:20 UTC
    Note that the output of a2p will encourage things like $[, which is severely deprecated in Perl and will not always work. Fixing that is beyond the average person who would use a2p and it certainly can't be mixed with other Perl code. Therefore while it was cool and important once, I can't recommend it any more.