Hi Chaitanya,

On Sunday 28 November 2010 11:54:14 Chaitanya Yanamadala wrote:
> How do i split a value like this
> F:\test\test123\test1233
> 
> please help me with this..
> 

You should use File::Spec (and related modules such as File::Basename) to 
manipulate path names, instead of using split. See:

http://perldoc.perl.org/File/Spec.html

For learning about split (which is useful in other cases) see:

http://perl-begin.org/tutorials/perl-for-newbies/part2/

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html

<rindolf> She's a hot chick. But she smokes.
<go|dfish> She can smoke as long as she's smokin'.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to