in reply to Recursive Path

I use File::Spec::Functions qw(catfile), then I call catfile to append stuff to the path, like this: catfile( $curr_dir, 'subdir' ).

Replies are listed 'Best First'.
Re^2: Recursive Path
by nobull (Friar) on May 28, 2005 at 07:36 UTC
    I believe this is not necessary. It is usually sufficient just to use '/' - Perl will figure it out. File::Spec is only needed when you need filenames that can be passed to external programs that require them to be expressed in the host OS's syntax.