Hello all,...

....mainly being using Python for my programing tasks, I lately needed to
get acquainted with Perl and I have to say I kinda like it. Anyhow,
messing around trying to modify some perl scripts on one of our servers,
I kindly would like to ask one question: In Python, I got used to two
functions named "basename" (similar to the "basename" command that is
part of the GNU shell utilities) and "path", working like that:

basename(/tmp/whatever/file-I-would-like)
->file-I-would-like
path(/tmp/whatever/file-I-would-like)
->/tmp/whatever

Do I have those functions (or functions doing more or less the same)
available in Perl? How are they called, where might I want start
reading?

TIA, have a good evening everyone!

Cheers,
Kris


-- 
Savour what you feel and   ][  Kristian Rink     
what you see - things that ][  irc:: irc.sorcery.net (kristian)
may not seem important now ][  fon:: ++49 160 92526188
but may be tomorrow...     ][  fax:: ++49 1212 5 119 57 762
---Chuck Schuldiner (1967 - 2001) .. gone but not forgotten---


 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to