Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Assign multiple scalars the same value

by davido (Cardinal)
on Jan 25, 2005 at 05:48 UTC ( [id://424790]=note: print w/replies, xml ) Need Help??


in reply to Assign multiple scalars the same value

Here's another variation on a theme:

map{ $_ = 'TRUE' } my( $a, $b, $c );

Not sure if that's taking us farther down an obfuscated road, but it does wield map in void context for the fun of it. ;)


Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found