in reply to A thought about usability in Perl and Linux in general.
Installing Perl from source is a good example of this. A minimal example is:
#!/usr/bin/perl use warnings; use strict; my $count = 0; if( $ARGV[0] ){ $count = $ARGV[0]; }else{ print "Enter integer to count to, and press return\n"; $count = <>; chomp $count; } for(0..$count){ print "$_\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A thought about usability in Perl and Linux in general.
by holli (Abbot) on May 18, 2005 at 12:37 UTC | |
|
Re^2: A thought about usability in Perl and Linux in general.
by DrHyde (Prior) on May 19, 2005 at 09:58 UTC |