Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: My "if" is failing!

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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006117]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2016-12-05 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (82 votes). Check out past polls.