EchoAngel has asked for the wisdom of the Perl Monks concerning the following question:
what code can i do to extract only the directory path only? ie "/proj/home/me/" for first one and none for the second one$temp1 = "/proj/home/me/asdf.pl"; or $temp1 = "asdf1.pl";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Data Extraction Question
by Corion (Patriarch) on Aug 03, 2004 at 12:36 UTC | |
|
Re: Data Extraction Question
by Gilimanjaro (Hermit) on Aug 03, 2004 at 14:30 UTC | |
|
Re: Data Extraction Question
by tsr2 (Initiate) on Aug 03, 2004 at 12:38 UTC | |
by amphiplex (Monk) on Aug 03, 2004 at 12:59 UTC |