Luba Pardo wrote: > Dear all: Hello,
> I wonder if it is possible to split a line with more than one delimiter at > the same time. > I have a file which delimiter is < and >, but if I only split by either < > or > I got a new line, which I do not need. > > the sentece I have is something like this: @a1_s=split/\</,$line; @a1_s = split /[<>]/, $line; John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>