[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] Golf my program :)




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