On Jan 14, 2004, at 3:02 PM, Eric Walker wrote:
Does anyone know what this means... code.. for ($i = 0;$i <= $size; $i+=$temp){ $type = split(::,shift (@hold)); }
Warning: Use of implicit split to @_ is deprecated at .//test.pl line 21
here's a bit of a shilly thought
for ($i = 0;$i <= $size; $i+=$temp){ ($type) = split(::,shift (@hold)); }
this way the first element of the string will be pushed into $type
one might want to 're design' that as say
for ($i = 0;$i <= $size; $i+=$temp) { foreach (@hold) { ($type) = split(::); .... } }
so that you have a slightly more 'obvious' solution...
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>