in reply to Re: Ghostly subroutine variables haunting me in subsequent calls
in thread Ghostly subroutine variables haunting me in subsequent calls

Whoops, had a brain failure there. I was trying to make a /\// clearer for your ease of reading in the manner of a normal regex which is of course inappropriate in a split call. Corrected.
  • Comment on Re^2: Ghostly subroutine variables haunting me in subsequent calls

Replies are listed 'Best First'.
Re^3: Ghostly subroutine variables haunting me in subsequent calls
by blazar (Canon) on Oct 26, 2005 at 12:07 UTC
    You still can use alternate delimiters "in the manner of a normal regex". But you have to be explicit about the operator:
    $ perl -le 'print for split m@/@, "foo/bar/baz"' foo bar baz