in reply to Re: Help making a directory tree
in thread Help making a directory tree
to this:$dirsofar .= "/".$dc;
In order to make directories only from the current directory. IE - if running the script from /home/user --- make the other two directories. But in that case if:$dirsofar = ( $dirsofar =~ /^./ ) ? $dirsofar . "/".$dc : $dirsofar .= + $dc;
My directories would turn out to be:@ARGV[0] = "/home/user/files/work/file";
Another 20 minutes and I should be able to to tweak your guy... I gotta bolt in a minute though. :(/home/useruser/filesfilesfiles/workworkworkwork
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Help making a directory tree
by sgifford (Prior) on Aug 26, 2003 at 18:02 UTC |