Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: regex search and replace issue

by jonnyfolk (Vicar)
on Nov 11, 2011 at 11:40 UTC ( #937565=note: print w/replies, xml ) Need Help??

in reply to Re: regex search and replace issue
in thread regex search and replace issue

oh, I'm as careless as careless can be. Thanks to all for pointing it out and helpful suggestions

Replies are listed 'Best First'.
Re^3: regex search and replace issue (strictures)
by toolic (Bishop) on Nov 11, 2011 at 13:49 UTC
    Perl can help prevent you from being careless... if you use strict and warnings. You would have gotten a warning message which would have pointed you to the offending lines.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://937565]
[choroba]: unit tests++
[choroba]: The only problem you can't solve by adding more tests is the problem of having too many tests.
[stevieb]: choroba Been there, done that :) Better too many than not enough though!
[stevieb]: I very often write a base set of unit tests before writing any code. It helps dictate the API, and ensures my earliest of ideas stay on track.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-07-21 20:05 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (335 votes). Check out past polls.