Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Re: globing files with spaces problem.

by kschwab (Priest)
on Aug 10, 2002 at 17:42 UTC ( #189207=note: print w/replies, xml ) Need Help??


in reply to Re: Re: globing files with spaces problem.
in thread globing files with spaces problem.

Change:

while (defined($sourcefile = bsd_glob("*")))

to:

foreach my $sourcefile (bsd_glob("*"))

bsd_glob doesn't act like the <*.foo> operator, as CORE::glob does.

Replies are listed 'Best First'.
Re: Re: Re: Re: globing files with spaces problem.
by Nabuku (Initiate) on Aug 10, 2002 at 20:13 UTC

    Thanx, this one solved it!!

    --
    Nabuku

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2016-09-25 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (473 votes). Check out past polls.