keiusui has asked for the wisdom of the Perl Monks concerning the following question:
$s = "/home/virtual/path/to/www/some/directory/filename.txt";
I would prefer to have the file extension (.txt in this case) removed as well.
Thank you so much.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Isolating a file name
by liverpole (Monsignor) on Feb 04, 2006 at 19:50 UTC | |
|
Re: Isolating a file name
by helphand (Pilgrim) on Feb 04, 2006 at 19:46 UTC | |
by helphand (Pilgrim) on Feb 04, 2006 at 19:53 UTC | |
|
Re: Isolating a file name
by pro7agon (Initiate) on Feb 04, 2006 at 20:14 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |