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

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

by Cine (Friar)
on Jul 31, 2003 at 14:05 UTC ( #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? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-12-04 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?