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

Re: So what is an array slice anyway?

by antirice (Priest)
on Aug 26, 2004 at 03:25 UTC ( [id://385896]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @p = (0..10);
    my @q = (1..9);
    if ( ( () = @p[0,1,2] ) == ( () = @q[3,6,1] ) ) {
        print "p slice == q slice\n"
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-03-29 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found