A Dijous 14 Setembre 2006 11:38, Mumia W. va escriure:
> On 09/14/2006 01:18 AM, Xavier Mas i Ramón wrote:
> > Hi all!,
> >
> > I'm trying to create a sorted (ASCII) hash file but get all time a syntax
> > error in line "my $abreviatures{$clau} = 1;" at "$abreviatures{ <--".
> > Sure is an stupid
A Dijous 14 Setembre 2006 08:31, John W. Krahn va escriure:
> Xavier Mas i Ramón wrote:
> > Hi all!,
>
> Hello,
>
> > I'm trying to create a sorted (ASCII) hash file but get all time a syntax
> > error in line "my $abreviatures{$clau} = 1;" at "$abreviatures{ <--".
> > Sure is an stupid mistake bu
On 09/14/2006 07:17 AM, John W. Krahn wrote:
Mumia W. wrote:
The "my" command doesn't work that way. You have to "my" the entire hash
like so:
...
my $abreviatures;
That is not a hash, that is a scalar. ITYM:
my %abreviatures;
John
Oops, thanks :-)
--
To unsubscribe, e-mail: [EMAIL
Mumia W. wrote:
> On 09/14/2006 01:18 AM, Xavier Mas i Ramón wrote:
>>
>> I'm trying to create a sorted (ASCII) hash file but get all time a
>> syntax error in line "my $abreviatures{$clau} = 1;" at
>> "$abreviatures{ <--". Sure is an stupid mistake but I'm not able to
>> see it even checking with
On 09/14/2006 01:18 AM, Xavier Mas i Ramón wrote:
Hi all!,
I'm trying to create a sorted (ASCII) hash file but get all time a syntax
error in line "my $abreviatures{$clau} = 1;" at "$abreviatures{ <--". Sure
is an stupid mistake but I'm not able to see it even checking with my
"Learning Perl
Xavier Mas i Ramón wrote:
> Hi all!,
Hello,
> I'm trying to create a sorted (ASCII) hash file but get all time a syntax
> error in line "my $abreviatures{$clau} = 1;" at "$abreviatures{ <--". Sure
> is an stupid mistake but I'm not able to see it even checking with my
> "Learning Perl" book.
Hi all!,
I'm trying to create a sorted (ASCII) hash file but get all time a syntax
error in line "my $abreviatures{$clau} = 1;" at "$abreviatures{ <--". Sure
is an stupid mistake but I'm not able to see it even checking with my
"Learning Perl" book.
Pls, can someone tell me where is the synta
"Ben Crane" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> right, my first attempt at a hash of arrays appears to
> have some success...but I have a query:
>
> sub HoA
> {
> foreach $arb (@uniqueroadname)
> {
> foreach $doublearb (@contents)
> {
> if ($
03, 2002 12:05 AM
To: [EMAIL PROTECTED]
Subject: Hash Access Query
Hi,
right, my first attempt at a hash of arrays appears to
have some success...but I have a query:
sub HoA
{
foreach $arb (@uniqueroadname)
{
foreach $doublearb (@contents)
{
if ($doublearb =~ m|$arb|)
{
print "$arb ==
Hi,
right, my first attempt at a hash of arrays appears to
have some success...but I have a query:
sub HoA
{
foreach $arb (@uniqueroadname)
{
foreach $doublearb (@contents)
{
if ($doublearb =~ m|$arb|)
{
print "$arb $doublearb\n";
push @temparray, $doublearb;
}
}
}
$arrayref{$arb} = [@temp
nk that should do it - good luck =)
Brian Arnold
[EMAIL PROTECTED]
-Original Message-
From: F.H [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 11:59 AM
To: [EMAIL PROTECTED]
Subject: hash access issue
Hi there,
Here is my dilema:
%HoH = (
Hi there,
Here is my dilema:
%HoH = (
flintstones => {
lead1 => "fred",
pal1 => "barney",
},
jetsons => {
lead2 => "george",
wife2 => "jane",
"his boy"3 => "elroy",
12 matches
Mail list logo