in reply to glob objects - why?
I personally find file-handles and type-globs a bit messy and it always takes me some time to re-understand all the quirks again.
I think that's mainly - like so often - because of the transit from bare-word handles FH to lexical $fh and the need to keep Perl4 code backwards compatible.
Once you want to work the internals of IO-objects you need that syntax.
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
|
|---|