Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^7: Perl 6, defining a hash with interpolated string

by molecules (Monk)
on Aug 05, 2010 at 21:07 UTC ( #853254=note: print w/replies, xml ) Need Help??


in reply to Re^6: Perl 6, defining a hash with interpolated string
in thread Perl 6, defining a hash with interpolated string



Or to be even more concise, use the notation you showed earlier:
use v6; foo( :B<there>, :A<howdy> ); sub foo(Str :$A, Str :$B){ say "Named parameter A is '$A'"; say "Named parameter B is '$B'"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://853254]
help
Chatterbox?
[LanX]: what no stars want to sing for Trump? (... even not Paris Hilton?)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2017-01-18 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (161 votes). Check out past polls.