Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Scalars, Lists, and Arrays

by ton (Friar)
on Apr 13, 2001 at 03:52 UTC ( [id://72247]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    print "$temp\n";
    $temp = @array[0..2];
    print "$temp\n";
    
  2. or download this
    3
    baz
    foo
    foo
    baz
    
  3. or download this
    sub func1
    {
    ...
        my @array = ('foo', 'bar', 'baz');
        return @array;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-19 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found