Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: How to access each element in an array Perl

by three18ti (Monk)
on Jan 18, 2014 at 18:58 UTC ( [id://1071132]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Dump;
    my $string = 'LarryWall';
    my @array = split//, $string;
    dd @array;
    
  2. or download this
    perl -MData::Dump -e 'my $str = 'LarryWall'; my @arr = split//,$str; d
    +d @arr;'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-26 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found