Re: Spliting some path

2004-04-13 Thread Chris Charley
- Original Message - From: <[EMAIL PROTECTED]> Newsgroups: perl.beginners To: <[EMAIL PROTECTED]> Sent: Saturday, April 10, 2004 12:56 PM Subject: Spliting some path > How can I split some path to directories > for example if my $path is "/home/ftp/some/file" > how can I get elements /h

Re: Spliting some path

2004-04-10 Thread Randy W. Sims
On 4/10/2004 12:56 PM, [EMAIL PROTECTED] wrote: How can I split some path to directories for example if my $path is "/home/ftp/some/file" how can I get elements /home, than ftp, than some, and for last - file I mean without split function, is there any other smarter way for doing it. because if