Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: Indirect Referencing

by Aragorn (Curate)
on Jun 17, 2004 at 20:50 UTC ( #367753=note: print w/ replies, xml ) Need Help??

in reply to Re: Indirect Referencing
in thread Indirect Referencing

Update: Argh! Nevermind, I misunderstood the question.

If what's within the angle brackets is neither a filehandle nor a simple scalar variable containing a filehandle name, typeglob, or typeglob reference,
$infh is a typeglob reference, so it should work. Actually, it does, if the while(<$infh}>){ is replaced by while(<$infh>){.

Small change, big results ;-)


Comment on Re^2: Indirect Referencing
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://367753]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-11-29 04:15 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls