Hi

I have a hash array which is being passed by ref, now I would like to
access an element inside an "" for a print statement

like

print "This is just text $refH->{"Key"} this is still text\n"

but I keep getting errors so I have to re write as 

print "This is just text " . $refH->{"Key"} . " this is still text\n"

Which causes problems if $refH->{"Key"} equates to blank

A

Attachment: pgp00000.pgp
Description: PGP signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to