Hi,
It split fine for me. This is what it gave me with your data:
$VAR1 = '2819';
$VAR2 = 'delicia';
$VAR3 = 'Reynolds Delicia';
$VAR4 = '18.4';
$VAR5 = '20151015';
$VAR6 = 'Yes';
$VAR7 = '';
$VAR8 = 'zzzzz';
This is where "use strict" really comes in handy. You most likely have a typo somewhere that isn't being picked up due to "strict" not being enabled (no point trying to turn it on in your script though, as it has tons and tons of violations and stuff that would cause errors if you did ;))
Apart from actually testing it myself and seeing the issue happening, its hard to really debug any further (afraid I won't be able to help today though, as I'm about to go and cook a BBQ for 5 people =))
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
It split fine for me. This is what it gave me with your data:
Code:
perl test.cgi $VAR1 = '2819';
$VAR2 = 'delicia';
$VAR3 = 'Reynolds Delicia';
$VAR4 = '18.4';
$VAR5 = '20151015';
$VAR6 = 'Yes';
$VAR7 = '';
$VAR8 = 'zzzzz';
This is where "use strict" really comes in handy. You most likely have a typo somewhere that isn't being picked up due to "strict" not being enabled (no point trying to turn it on in your script though, as it has tons and tons of violations and stuff that would cause errors if you did ;))
Apart from actually testing it myself and seeing the issue happening, its hard to really debug any further (afraid I won't be able to help today though, as I'm about to go and cook a BBQ for 5 people =))
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!