On Fri, Dec 18, 1998 at 08:36:53AM -0400, Arved Sandstrom wrote: } } And I wouldn't necessarily use either a regex *or* substr; one of the CPAN } modules like File::Spec might be more portable if that's what you like } (well, that's what _I_ like... :-)) In general you'd use File::Basename, but in this case, the regex is probably the way to go. The reason is that File::Basename works on paths as used in the native file system, which URL's aren't except under Unix (the protestations in the RFC's are not convincing). ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch