Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: $1, etc. are not just strings

by gam3 (Curate)
on Jan 04, 2007 at 16:36 UTC ( #592980=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            if (my ($a, $b) = ("$key$val" =~ /(..)(...)/)) {
                $hash2{$a} = $b;
            }
    
  2. or download this
    #!/usr/bin/perl
    use Test::More "no_plan";
    ...
    ok 1 - same number of keys
    ok 2 - is_deeply same
    ok 3
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-07-25 02:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls