Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: hash return...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 11001 of 11531
Post > Topic >>

Re: hash return from a sub

by flyzone@[EMAIL PROTECTED] (Flyzone) Apr 29, 2008 at 02:02 AM

On 29 Apr, 01:03, andrew.cu...@[EMAIL PROTECTED]
 (Andrew Curry) wrote:
> Ill make a guess it's a scope issue

Yep, found the error

> my(%myhash,$var1,$var2);

I forgot to declare the 'myhash' into the sub.
Done that now is working. :-)

Thanks
 




 5 Posts in Topic:
hash return from a sub
flyzone@[EMAIL PROTECTED]  2008-04-28 10:06:06 
RE: hash return from a sub
andrew.curry@[EMAIL PROTE  2008-04-29 00:03:01 
Re: hash return from a sub
rob.dixon@[EMAIL PROTECTE  2008-04-29 00:17:02 
Re: hash return from a sub
noreply@[EMAIL PROTECTED]  2008-04-29 01:18:00 
Re: hash return from a sub
flyzone@[EMAIL PROTECTED]  2008-04-29 02:02:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 18:58:07 CDT 2008.