in reply to RE: RE: RE: RE: Re: Looping through a split() and more...
in thread Looping through a split() and more...

It's obsolete, in there for backward compatibility.. go read USENET, you'll see what I mean.
--
Casey
  • Comment on RE: RE: RE: RE: RE: Re: Looping through a split() and more...

Replies are listed 'Best First'.
RE: RE: RE: RE: RE: RE: Re: Looping through a split() and more...
by takshaka (Friar) on Jun 01, 2000 at 23:47 UTC
    Is it better not to use a literal string as the first argument to split(), especially when demonstrating functionality to new users? Yes.

    Is that functionality likely to be omitted from Perl 6? Possibly, unless that means forcing people to do silly things like this:

    $pattern = qr/[:|]/; @array = split $pattern; # instead of $pattern = '[:|]'; @array = split $pattern;

    Is it officially deprecated? No.

    Is it valid Perl? Yes.

    Should someone vote down this whole friggin' thread? Yes, please.