Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: My "if" is failing!

by choroba (Canon)
on Nov 28, 2012 at 22:06 UTC ( #1006117=note: print w/ replies, xml ) Need Help??

in reply to My "if" is failing!

Before the if and after branching, add

warn "$_, $sw.\n";
to see what's really going on if you are lazy to run the debugger. The regex must work the same regardless of the else part being commented or not.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Comment on Re: My "if" is failing!
Select or Download Code
Replies are listed 'Best First'.
Re^2: My "if" is failing!
by Sumtingwong (Novice) on Nov 29, 2012 at 02:55 UTC

    OK, will try the debugger. I am still figuring out how to do a lot of this, thanks!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2015-11-29 12:23 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls