Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: splitting pipe into new line

by hippo (Vicar)
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
Replies are listed 'Best First'.
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: (10)
As of 2015-07-30 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls