Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: How Constant pragma works with multi constants

by choroba (Chancellor)
on Feb 07, 2013 at 09:57 UTC ( #1017604=note: print w/replies, xml ) Need Help??


in reply to Re: How Constant pragma works with multi constants
in thread How Constant pragma works with multi constants

You are replying to yourself. Moreover, the answer to the question has already been given: The anonymous hash is used as a parameter to constant::import, which can easilly access it in its @_.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^2: How Constant pragma works with multi constants

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017604]
help
Chatterbox?
[1nickt]: For multiple dirs use iterator(): $it = path("/foo")-> iterator; while ( my $path = $it->() ) {...}
[1nickt]: (also skips . and .. automatically, and follows subdirs if you set <c\>recurse => 1</c>
[1nickt]: $it = path("/foo")-> iterator(recurse => 1 );

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2017-03-28 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (340 votes). Check out past polls.