Hi,
For example:
@xx = qw(aa bb cc);
$xx[3] = "ss";
for($i=0; $i <= 3; $i++)
{
print $xx[$i], "\n";
}
From: Jakob Kofoed <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: adding stuff to array
Date: 22 Oct 2002 23:29:32 +0200
Hi,
Can you ad a value to an array?
fx:
@xx = aa bb cc
Hi all!
As you probably know, Microsoft has released its new .NET environment, which
allows to create .NET components (similar to Java classes) in different
languages. The good news is that Perl language has joined the family of .NET
languages after ActiveState (http://www.ActiveState.com) intro
Hi, Jerry!
Is this what you mean:
# lines.pl
use strict;
my @lines = ("Line 1", "Line 2", "Line 3");
foreach my $line (@lines)
{
print $line, "\n";
}
#
Will output:
Line 1
Line 2
Line 3
Yevgeny.
From: "Jerry Preston" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: "Beginners Perl"