splitOnce has asked for the wisdom of the Perl Monks concerning the following question:
I want to add a new dir at the end of this path somthing like this :$path = RTE/hull/TR;
I am doing somthing like this but don's seem to work:$path = RTE/hull/TR/newDir;
thanks$paht =~ s/$/\/newDir/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Adding to an end of path
by sschneid (Deacon) on Jul 30, 2002 at 21:30 UTC | |
|
Re: Adding to an end of path
by thelenm (Vicar) on Jul 30, 2002 at 21:36 UTC | |
by splitOnce (Acolyte) on Jul 30, 2002 at 21:37 UTC | |
|
Re: Adding to an end of path
by jk2addict (Chaplain) on Jul 30, 2002 at 21:53 UTC | |
|
Re: Adding to an end of path
by silent11 (Vicar) on Jul 30, 2002 at 21:31 UTC |