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