A New bie's doubt

N

Naren

Hello Grp,

I am new to perl.I am supposed to write a perl code which involves
hashes

line => $lnCnt1,

data => "array1",

how can one append a key value pair programmatically.I could not get it in a
book available here.



thaanx in advance,

rgds,

Naren.
 
J

James Willmore

On Fri, 17 Oct 2003 10:40:44 +0200
Naren said:
how can one append a key value pair programmatically.I could not get
it in a book available here.

type on the command line:
perldoc perl

This is the documentation for Perl. You will find, over time, that
the book is a supplement to the already existing documentation :)

To answer the original question, type:
perldoc -q hash

It may not provide a direct answer to the direct question, but you may
need it later on.

HTH

--
Jim

Copyright notice: all code written by the author in this post is
released under the GPL. http://www.gnu.org/licenses/gpl.txt
for more information.

a fortune quote ...
It's easier to fight for one's principles than to live up to
them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top