|P is for Practical|
globbing filehandles in arraysby why_bird (Pilgrim)
|on Jan 23, 2009 at 13:22 UTC||Need Help??|
why_bird has asked for the wisdom of the Perl Monks concerning the following question:
I'm struggling a little with typeglobbing and filehandles. I've read this excellent node and more besides
What I can't figure out is why does this NOT work:
(And it also doesn't work if you try any of the following:
However, this works!!
And it still works whether
Why? What's the difference? Am I missing something fundamental here? Or is this some kind of 'feature'? Or is the first syntax ambiguous, or.. what??Cheers
edit: Formatting issues!
edit: ">" to "<", thanks Fletch
Those are my principles. If you don't like them I have others.
-- Groucho Marx