harry34 has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/local/bin/perl foreach (1..10) { open (COUNT, ">>count.txt") or die "Can't create count.txt: $!\n"; print COUNT "$_\n"; close COUNT; } foreach (11..20) { open (NUM, ">>count.txt") or die "Can't create count.txt: $!\n"; print NUM "$_\n"; close NUM; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sorting numbers
by Abigail-II (Bishop) on Aug 05, 2003 at 09:09 UTC | |
|
Re: sorting numbers
by broquaint (Abbot) on Aug 05, 2003 at 09:21 UTC |