Sep 2, 2014, 1:59 PM
Without the =~ binding operator it will bind to $_.
Re: [stuckinarut] Stuck with uninitialized values errors
If you need to bind it to another var, you need to be explicit and specify that binding.
On another note, the first arg to the split function is a regex pattern, not a string which includes an embedded regex. The second arg is the var (string) you want to split.
(This post was edited by FishMonger on Sep 2, 2014, 2:00 PM)