Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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
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 pondering the Monastery: (4)
As of 2020-02-21 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (94 votes). Check out past polls.

    Notices?