Thanks, everyone! Not only did I learn a lot more about Perl, I was also given several alternative ways of doing my program more efficiently. This will help me illustrate the "many ways" of doing things in Perl. Something I wanted to do, but didn't have the skill. The "many ways" example will use all of the different variations you provided me. Not sure which one I'll use as the primary example - they are all excellent!
. -----Original Message----- From: JupiterHost.Net [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 5:00 PM To: beginners@perl.org Subject: Re: A very simple example program Comparing Perl, Python and Java > This is an equivalent program: > > #!/usr/bin/perl > print "@ARGV\n"; > print "$_\n" for grep length($_) <= 3, @ARGV; Ha Ha even better, nice one Bob! Perl is just way to awesome :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>