Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: PERL newbie question

by CountZero (Bishop)
on Sep 07, 2012 at 04:10 UTC ( #992242=note: print w/replies, xml ) Need Help??

in reply to PERL newbie question

I want to find and replace a string but somehow it didn't work.
That is pretty vague and does not give us much to work with. Couldn't you open the file? Did nothing get found/replaced? Did the wrong things got found/replaced? Couldn't you save the results?

Please show your code, some relevant input data and the results of your code plus any errors or warnings.

BTW: It is Perl (the language) or perl (the program), but not PERL. That really sets you apart as a newbie. :)


A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2018-06-19 18:29 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.