Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: system call and newline interpretattion.

by robartes (Priest)
on May 24, 2005 at 14:35 UTC ( #459995=note: print w/ replies, xml ) Need Help??


in reply to system call and newline interpretattion.

Quite possibly your $_ comes from reading in a line in a file and contains a newline. Try chomp before you use $_.

Then again, as you do not provide context, the problem might be a completely different one.

CU
Robartes-


Comment on Re: system call and newline interpretattion.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2015-07-31 08:32 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 (276 votes), past polls