[EMAIL PROTECTED] writes: > > "Michael R. Wolf" <[EMAIL PROTECTED]> said: > > > Since <> is used so often in a while loop to mean the > > diamond operator, I prefer to spell out "glob" as follows. > > > > > > while (glob "sn.????") { > > print "$_\n"; > > } > > > > Just a *preference*. They're both *right*. > > I agree. Your way is somewhat cleaner and clearer. As an old perl 4 hacker, I > remember some of the older practices and old habits die hard. ;-)
old habits die hard -> new habits live easy? I guess you figured out <> as glob early on. I didn't, and it grabbed me for a long while until I figured it out. Too bad there are only so many ASCII characters to go around for operators -- it makes overloading too tempting. -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]