Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Perl6 dot syntax (for methods?)

by Ven'Tatsu (Deacon)
on Feb 28, 2005 at 16:26 UTC ( #435102=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub fooprintf (*$fmt, *@args) { ... }
    sub barprintf ($fmt, *@args) { ... }
    ...
    barprintf($format, @data); #this works
    barprintf(@both);          #this won't work
    barprintf(*@both);         #but this will
    
  2. or download this
    fooprintf(localtime); #localtime is called in array context
    barprintf(localtime); #localtime is called in scalar context
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2019-02-23 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (119 votes). Check out past polls.

    Notices?