From: Joe C. <jo...@sw...> - 2001-03-27 14:37:20
|
Fabulous. Works perfectly now. Fun times. On to adding a Webmin user, and DNS and Sendmail entries. I might just finish this thing after all (I'm even doing access controls this time). As always, thanks a lot, Jamie. Jamie Cameron wrote: > Joe Cooper wrote: > >> Ok... I'm almost there. But I'm stumped now. My perl ignorance is showing. >> >> Is there a way for me to pass the hash to a foreign_call? > > You just have to pass it as a reference .. like so : > > &foreign_call("useradmin", "create_user", \%user); > > I don't think there is any way to pass an actual hash to a perl function .. > > - Jamie -- Joe Cooper <jo...@sw...> Affordable Web Caching Proxy Appliances http://www.swelltech.com |