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

Re^2: Substitution or removing characters from a file

by Anonymous Monk
on May 17, 2012 at 22:58 UTC ( [id://971190]=note: print w/replies, xml ) Need Help??


in reply to Re: Substitution or removing characters from a file
in thread Substitution or removing characters from a file

Hello, Thanks for the reply. Am late in acknowledging it, was on travel. Thanks for your above suggestions. You said that two lines are more efficient than the single substitution. How can I tell, which part of my code is more efficient than other. I thought that 1 line would be more efficient than 2 lines, hence I posted this question. You have any suggestion/reading link for reading on writing efficient code in perl? Thanks.

Replies are listed 'Best First'.
Re^3: Substitution or removing characters from a file
by hary536 (Novice) on May 17, 2012 at 23:02 UTC
    It was me who posted above msg. Not sure, how I got logged out in the process before posting that msg.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-28 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found