[Omaha.pm] Golf my program :)

Andy Lester andy at petdance.com
Thu May 24 07:55:23 PDT 2012


On May 24, 2012, at 9:52 AM, Jay Hannah wrote:

> 
> Suggestions to improve this little program I just wrote?
> 
> 
>   chomp;

Use -l on the shebang to do autochomping.  You'll also be able to get rid of the "\n" in your printf.



>   my @line = split /\t/;

Use -a and -F on the shebang to do the split for you automaticaly.


xoa


--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/omaha-pm/attachments/20120524/074f656e/attachment.html>


More information about the Omaha-pm mailing list