my $cd = $arguments; @dirs = split(/\//,$cd); #Split $cd when there occurs a backslash Negate with \ hth.
On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi there! > > I would like to split up a string like this > > my $cd = $arguments; > @dirs = split(///,$cd); #Split $cd when there occurs a backslash > > but it doesn't seem to work. I guess /// must be rewritten in some way, > but how? > > /G > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > >