On Wed, Dec 19, 2001 at 03:25:15PM -0800, John W. Krahn wrote: > Michael Fowler wrote: > > > > On Wed, Dec 19, 2001 at 10:14:00PM +0100, Egor Brandt wrote: > > > #!/usr/bin/perl -w > > > while ( < i am fred flintstone >) { > > > > The text between the angle brackets is not what you're matching against; > > it's either a filehandle that you're reading from, or a globbing pattern to > > match files against in the current directory. Not having Learning Perl on > > hand I couldn't tell you which, but I'm guessing it's a filehandle to read > > from. > > Actually it is using globbing to do what you would normaly do with > split().
I was referring to what the original text is trying to do, not what his variation parses into. Are you saying Learning Perl is using the glob operator to get a string to iterate over? I wouldn't think that was the case. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]