"Boyd, David" wrote:
> 
> after a bit of though on this, I changed the interface to the function to
> only accept the hash.  I then put a die in there if the eval failed.  this
> does the trick.
> 
> but what is the correct way for me to call a sub with a reference so the sub
> can change the value of the reference and the caller can see that change?

The sub can change the referenced value by dereferencing that 'pointer'.
Check out perlref and perlreftut pod/man pages.

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED] 
  / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to