in reply to Use of implicit split to @_ is deprecated
You could put no warnings 'uninitialized' in the block around this bit of code, or you could make it $var_cdrcellsplit = @{[split(...)]} if you want to retain the split for some reason.
Update: or $var_cdrcellsplit = do { my @f = split(...) };
or $var_cdrcellsplit = () = split(//, $var_cdrcellname, -1)
Update 2: got careless. The latter is the same as using //g, which will match an extra time.
Update 3: $var_cdrcellsplit = () = split(/(?<!^)(?!$)/, $var_cdrcellname, -1)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use of implicit split to @_ is deprecated
by Abigail-II (Bishop) on Jun 04, 2004 at 15:49 UTC |