Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Parsing list

by ww (Archbishop)
on Mar 02, 2014 at 13:19 UTC ( [id://1076715]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    user:pass user1:pass1 use:pas
             ^           ^
    
  2. or download this
    user:pass
    user1:pass1
    use:pas
    
  3. or download this
    #!/usr/bin/perl
    use 5.016;
    use warnings;
    ...
        my ($first, $second) = split /:/, $current_element;
        say "\$first: $first & \$second: $second";
    }
    
  4. or download this
    user:passer use:pass user1:pass1
    That was $list; these are the elements of @arr:
    user:passer
    ...
    $first: use & $second: pass
    user1:pass1
    $first: user1 & $second: pass1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found