Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: [Perl 6] Any provision for a "dereferencing object"?

by blazar (Canon)
on May 28, 2007 at 21:27 UTC ( #617884=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $dereferencer = { $^moose.<foo>[1]<bar><baz>[3] };
    $dereferencer($datastructure);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://617884]
help
Chatterbox?
[ovedpo15]: how fast and a good way to print error if more than one out of three variables are defined? for example if there are $a $b $c. I want that if for example $a and $b are defined - print error (also for $a and $c or $b and $c)
[ovedpo15]: its easy with three "if"s or one long "if" but is there a "nice" way :)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2018-04-22 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?