in reply to A problem with using the split command
I could be way off here but I think you need to escape the '\' like this:
SUNADMN
USE PERL
foreach my $pwd (split('/\/\','/\foo/\foo1/\foo2'))
SUNADMN
USE PERL
|
---|
In Section
Seekers of Perl Wisdom