Hi; On Sun, Nov 28, 2010 at 12:31, Dr.Ruud <[email protected]> wrote: > On 2010-11-28 10:54, Chaitanya Yanamadala wrote: > >> How do i split a value like this >> F:\test\test123\test1233 > > For example: > > ruud$ perl -wle 'print for split //, q{F:\test\test123\test1233}' > F > : > \ > t > e > s > t > \ > t > e > s > t > 1 > 2 > 3 > \ > t > e > s > t > 1 > 2 > 3 > 3 > > -- > Ruud
The reason one should use File::Basename and File::Spec is that you can become platform-independent instead of Windoze-worshipping :-) Ken Wolcott -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
