Gossamer Forum
Home : General : Perl Programming :

Re: [delicia] problem with colon as delimiter

Quote Reply
Re: [delicia] problem with colon as delimiter In reply to
Hi,

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!
Subject Author Views Date
Thread; hot thread problem with colon as delimiter delicia 9950 May 7, 2020, 1:33 PM
Post; hot thread Re: [delicia] problem with colon as delimiter
delicia 9789 May 7, 2020, 1:36 PM
Thread; hot thread Re: [delicia] problem with colon as delimiter
Andy 9785 May 7, 2020, 11:33 PM
Thread; hot thread Re: [Andy] problem with colon as delimiter
delicia 9783 May 8, 2020, 5:43 AM
Thread; hot thread Re: [delicia] problem with colon as delimiter
Andy 9773 May 8, 2020, 5:52 AM
Thread; hot thread Re: [Andy] problem with colon as delimiter
delicia 9774 May 8, 2020, 5:59 AM
Thread; hot thread Re: [delicia] problem with colon as delimiter
delicia 9769 May 8, 2020, 6:10 AM
Post; hot thread Re: [delicia] problem with colon as delimiter
Andy 9762 May 8, 2020, 6:18 AM
Thread; hot thread Re: [delicia] problem with colon as delimiter
Andy 9758 May 8, 2020, 6:45 AM
Post; hot thread Re: [Andy] problem with colon as delimiter
delicia 9750 May 8, 2020, 7:05 AM
Thread; hot thread Re: [delicia] problem with colon as delimiter
Andy 9754 May 8, 2020, 6:48 AM
Thread; hot thread Re: [Andy] problem with colon as delimiter
delicia 9750 May 8, 2020, 7:06 AM
Thread; hot thread Re: [delicia] problem with colon as delimiter
Andy 9744 May 8, 2020, 7:27 AM
Thread; hot thread Re: [Andy] problem with colon as delimiter
delicia 9741 May 8, 2020, 7:34 AM
Post; hot thread Re: [delicia] problem with colon as delimiter
Andy 9711 May 8, 2020, 10:49 PM