Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Scalars, Lists, and Arrays

by ton (Friar)
on Apr 13, 2001 at 03:52 UTC ( #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
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? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-12-20 07:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls