Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by choroba (Chancellor)
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?
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^3: Test::More not working with Perl local special variables
by Doozer (Scribe) 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.