On Sat, 22 Oct 2011 11:58:38 +1300, newbie01 perl wrote: > Am just trying to port 1:1. Quite painful trying to figure out how to > get awk-like behavior in Perl especially when trying to do some > calculation on some specific fields.
Awk is Perl's closest ancestor on the evolutionary tree, from one point of view anyway. There's even a program a2p that comes with perl (http:// perldoc.perl.org/a2p.html) for making transitioning automatic, if not easier. Post what you're having trouble with here and we can help. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 http://www.oreillyschool.com/certificates/perl-programming.php -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/