Hi, yes i could solve my problem, but can you let me know what is the difference in using '{' '['
Thank You very much.. Cheers Praveen -----Original Message----- From: WC -Sx- Jones [mailto:[EMAIL PROTECTED] Sent: 02 April 2004 16:30 To: Kumar, Praveen (cahoot) Cc: '[EMAIL PROTECTED]' Subject: Re: Basic question Kumar, Praveen (cahoot) wrote: > print "You are $list{$0}\n"; print "You are " . $list[0] . "\n"; Why - {$0} = hash [0] = array -Sx- .sophos.3.79.04.04. ********************* Internet communications are not necessarily secure and may be intercepted or changed after they are sent. cahoot does not accept liability for any such changes. If you wish to confirm the origin or content of this communication, please contact the sender using an alternative means of communication. This communication does not create or modify any contract. This email may contain confidential information intended solely for use by the addressee. If you are not the intended recipient of this communication you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error. cahoot is a division of Abbey National plc. Abbey National plc is registered in England, registered number 2294747. Registered Office: Abbey National House, 2 Triton Square, Regent's Place, London, NW1 3AN. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>