Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Perl oddities

by Mugatu (Monk)
on Mar 01, 2005 at 17:15 UTC ( #435532=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl oddities
in thread Perl oddities

Normally this doesn't bother me unless I have to use parens

It's also kind of odd when your filehandle is not a simple scalar or bareword:

open $hash{foo}, ">", "foobar"; print { $hash{foo} } "Test\n";

Makes me shudder every time.


Comment on Re^2: Perl oddities
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-07-05 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls