Hi everyone
I've just used split (with use: strict,warnings,diagnostics),
and from some reason during compilation (even before the terminal appeared) I got this warning:
"Line 1: The second parameter of split is a string,not an array
Do you want to continue?" (yes/no buttons)
Googling this didn't help much, I got that this may have something to do with the "use warnings" (which I wrote with an "s" in the end !),
or possibly something to do with the fact I'm using Padre.
But nothing helpful, not even any question/answer page.
By answering "yes" the code seems to run perfectly fine (including the split),
So just to mess around and see what will happen, I tried to substitute the string with an array, and got the same warning.
Also got the same warning when I tried to change the split pattern to another, and when I changed the split pattern from regex to plain string, and when the split was set into a string instead of array, its always the same weird warning !
My only non-neutralized split ($flnx is very much defined btw):
my @linx = split(/,/,$flnx);
Your thoughts ?
Thx
Update: Problem Resolved
Apparently is was a neutralized split one !
It was yesterday so I can't really find it now ^^ but it was something like this:
#my $something = split(/\.\n\d+: /,join(',',@somearray));
Yes with a # in the beginning ! soooo weird.
Regardless, thx 4 all the help attempts, appreciate it ^^