bject: Re: Perl and arrays
"John W. Krahn" wrote:
>
> #!/usr/bin/perl -w
> use strict;
> use CGI qw/:standard/;
>
> print header;
>
> my @arrayStuff = (
> { OutFile => 'albu.htm',
> PageId => '3.4.1.5.1&
"John W. Krahn" wrote:
>
> #!/usr/bin/perl -w
> use strict;
> use CGI qw/:standard/;
>
> print header;
>
> my @arrayStuff = (
> { OutFile => 'albu.htm',
> PageId => '3.4.1.5.1',
> Menu=> 'albu_menu.inc',
> Content => 'albu.inc'
> },
> { OutFile => 'armi.php',
>
Colin Johnstone wrote:
>
> Gidday all,
Hello,
> I want to create an array and then remove elemnets one at a time and split on the
>comma.
>
> I've tried this with no success..
>
> #!/usr/bin/perl -w
>
> print "Content-Type: text/html\n\n";
>
> my @arrayStuff;
>
> $arrayStuff[0] = "albu.htm
er 20, 2002 21:12
To: [EMAIL PROTECTED]; Johnstone, Colin
Cc: '[EMAIL PROTECTED]'
Subject: Re: Perl and arrays
just one mistake in the code
Your elements are comma seperated and you are doing
@data = split( /\t/, $element);
do a
@data = split( /,/, $element);
-
Ram
Colin
just one mistake in the code
Your elements are comma seperated and you are doing
@data = split( /\t/, $element);
do a
@data = split( /,/, $element);
-
Ram
Colin Johnstone wrote:
Gidday all,
I want to create an array and then remove elemnets one at a time and split on the comma.
I've t