Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: Newline Delimited Input

by CukiMnstr (Deacon)
on Jun 11, 2003 at 07:07 UTC ( #264971=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Newline Delimited Input
in thread Newline Delimited Input

so you are not chomp()ing $dir... are you getting something like
Unsuccessful stat on filename containing newline at...
when you run your script? Did you try chomp()ing the filenames as I suggest here?

hope this helps,

Replies are listed 'Best First'.
Re: Re: Re: Re: Newline Delimited Input
by Anonymous Monk on Jun 11, 2003 at 13:11 UTC
    Thanks for your help!! Adding chomp ( @parts = <IN> ); got everything working correctly.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2023-09-22 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?