CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate: Re: [maciejp] Passing arguments to module's function: Edit Log

Veteran / Moderator

May 1, 2013, 10:22 AM

Views: 1703
Re: [maciejp] Passing arguments to module's function

I do not see anything wrong in the passing of parameters to the function, so, to me, it would seem that either $Mail is not defined when you call the function, or it is lost afterwards (but I fail to see any reason, so that I would think the first solution is more plausible, possibly the statement $q->param('mail') did not work as you acpect). As said by Fishmonger, just print something like "Before function call; value is $Mail\n;" right before the function call and a similar statement within the function right after assigning @_ to your variables.

(This post was edited by Laurent_R on May 1, 2013, 10:25 AM)

Edit Log:
Post edited by Laurent_R (Veteran) on May 1, 2013, 10:25 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives