DeusVult has asked for the wisdom of the Perl Monks concerning the following question:
If you run this code, the result is:#!/usr/bin/Perl -w use strict; my $x; while ( $x = <hello there how are you> ) { print "$x\n"; }
Now, the question is, why?hello there how are you
We live in a society exquisitely dependent on science and technology, in which hardly anyone knows anything about science and technology.
- Carl Sagan
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Sort of like a file handle, but not
by bikeNomad (Priest) on Aug 21, 2001 at 22:41 UTC | |
by tilly (Archbishop) on Aug 21, 2001 at 22:48 UTC | |
by Cine (Friar) on Aug 21, 2001 at 23:01 UTC | |
by IraTarball (Monk) on Aug 21, 2001 at 23:10 UTC | |
by dmmiller2k (Chaplain) on Aug 22, 2001 at 00:21 UTC | |
by tilly (Archbishop) on Aug 22, 2001 at 01:38 UTC |