Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: splitting pipe into new line

by hippo (Curate)
on Jun 14, 2013 at 18:23 UTC ( #1039013=note: print w/ replies, xml ) Need Help??


in reply to splitting pipe into new line

Looks like toolic has solved your immediate problem. However, I thought it polite to point out that your line using the 'import_from' method seems to be a no-op here (unless you are doing something else which you are not showing us of course).

However, if I'm wrong and you are genuinely using it for something, then may I suggest a piece of good practice? If you ever find that you are using the same literal string more than once (eg. '/path/to/.file.ini'), just pop it in a scalar variable and use that instead. It has been my experience that this saves hours of bughunting only to find a typo as the culprit.


Comment on Re: splitting pipe into new line
Re^2: splitting pipe into new line
by PerlSufi (Friar) on Jun 14, 2013 at 19:30 UTC
    Thanks, hippo! Good advice that I will try to put into practice ;)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-12-27 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls