[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-web
Subject:    Hash table problem.
From:       NPopovici () hitex ! de
Date:       2003-10-14 10:28:06
[Download RAW message or body]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_001_01C3923D.DB6D8B60
Content-Type: text/plain


Hello all,

  I have the following piece of code 

my @a;
my %hash_table= ();
$hash_table{$Parameter0} = substr( $_, $-[0], $+[0]-$-[0] );
$hash_table{$Parameter1} = "test";
and now I want to save this hash_table as the first entry in this array a 
Anyone has any iddea of how can I do that ?
 push @a,,,,

Thanks!
Nicu 

 

------ =_NextPart_001_01C3923D.DB6D8B60
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.0.1460.9">
<TITLE>Hash table problem.</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2 FACE="Arial">Hello all,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp; I have the following piece of code </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">my @a;</FONT>
<BR><FONT SIZE=2 FACE="Arial">my %hash_table= ();</FONT>
<BR><FONT SIZE=2 FACE="Arial">$hash_table{$Parameter0} = substr( $_, $-[0], \
$+[0]-$-[0] );</FONT> <BR><FONT SIZE=2 FACE="Arial">$hash_table{$Parameter1} = \
&quot;test&quot;;</FONT> <BR><FONT SIZE=2 FACE="Arial">and now I want to save this \
hash_table as the first entry in this array a </FONT> <BR><FONT SIZE=2 \
FACE="Arial">Anyone has any iddea of how can I do that ?</FONT> <BR><FONT SIZE=2 \
FACE="Arial">&nbsp;push @a,,,,</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">Thanks!</FONT>
<BR><FONT SIZE=2 FACE="Arial">Nicu </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;</FONT>
</P>

</BODY>
</HTML>
------ =_NextPart_001_01C3923D.DB6D8B60--
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic