Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Recursion

by s0ttle (Scribe)
on Aug 03, 2001 at 16:35 UTC ( [id://101952]=note: print w/replies, xml ) Need Help??


in reply to Re: Recursion
in thread Recursion

next if $dir_cont =~s/^\.\.?$/;
you might want to change that line to:
next if $dir_cont=~/^\.\.?$/;
because I really don't think you want substitution. basically delete the 's' also
my($dir,$fullpath) = @_;
should be
my($dir,$full_path) = @_;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-20 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found