Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Test::More not working with Perl local special variables

by choroba (Canon)
on Apr 23, 2013 at 08:01 UTC ( #1030064=note: print w/ replies, xml ) Need Help??


in reply to Re: Test::More not working with Perl local special variables
in thread Test::More not working with Perl local special variables

What do you expect $1 will contain in the else branch?

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re^2: Test::More not working with Perl local special variables
Download Code
Re^3: Test::More not working with Perl local special variables
by Doozer (Beadle) on Apr 23, 2013 at 08:19 UTC
    That was a quick copy/paste job and I didn't realize. Obviously $1 will be undefined so the else statement will be adjusted accordingly. I will keep the rest of the statement the same as that will be what helps identify each test.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2015-07-03 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls