Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 examining the Monastery: (5)
As of 2016-06-30 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (392 votes). Check out past polls.