Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: Re: Exegesis 6 - Named binding

by Cine (Friar)
on Jul 31, 2003 at 14:05 UTC ( [id://279578]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %data = << why dunno who them where there which this >>;
    
  2. or download this
    (why => "dunno", who => "them", where => "there", which => "this")
    
  3. or download this
    multi sub infix:=(List of Pair @assign is rw, List of Pair @values) re
    +turns List of Pair {
      my %assign := *@assign;
    ...
      }
      return *%assign;
    }
    
  4. or download this
    my $fish = "hest";
    ($sheep, $goats, $fish) := part Animal::Cat, @animals;
    
  5. or download this
    my $hest = "hest";
    %result := ($sheep, $goats, fish => $hest) := part Animal::Cat, @anima
    +ls;
    
  6. or download this
    ($sheep, $goats, $fish => "hest") := part Animal::Cat, @animals;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-23 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found