Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: CGI Action call

by tultalk (Monk)
on Mar 12, 2018 at 13:00 UTC ( [id://1210709]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI Action call
in thread CGI Action call

Hi Thanks

This: Let your code call the sub for data and let the sub return the data only. confuses me.

code called under if (action = xxx) can call a sub which can produce the the desired result but and return(data) it but isn't that returned to the action call and since that is not a sub, won't it fail in the same way as trying to return it directly from the action called code?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1210709]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-19 12:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found