Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

(tye)Re: Possible pitfall with Slices

by tye (Cardinal)
on Nov 07, 2000 at 03:19 UTC ( #40279=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        ( $x, $y )= $z;
        @array[1,2]= $z;
        @hash{qw(a,b)}= $z;
        @hash{@array}= $z x @array; # unless 1==@array
    
  2. or download this
        ( $x )= $z;
        ( $x, $y )= ( $z );
    ...
        @array[1,2]= ( $z );
        @hash{qw(a,b)}= ( $z );
        @hash{@array}= ( $z ) x @array;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2014-10-02 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (52 votes), past polls