"Boyd, David" wrote: > > Hello All > > I would like to do the following. I have created a .pm. I am passing it a > hash table. the .pm file takes the information from the hash, executes a > query and then sends back the results. What I was also trying to do was > have the sub send back a message string also. So I tried the following: > > IRS_Util::getOptions(%myHash,*errMsg)
Normally this would pass vrbl refs like (\%myHash, \$errmsg); But not sure what you are doing in there. > inside getOptions I have > local(%localHash,*localMsg) = @_; > > $localMsg = "just a test"; > > and then after the call to this function i print out this message, and I get > nothing but a blank. > > So, what the heck am I doing wrong here? Need more code. -- ,-/- __ _ _ $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
