Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: CGI::Appl can't find sub

by poj (Abbot)
on Jun 11, 2014 at 19:00 UTC ( [id://1089583]=note: print w/replies, xml ) Need Help??

in reply to Re^2: CGI::Appl can't find sub
in thread CGI::Appl can't find sub

I'm guessing that maybe init is a constructor returning an object. If it is then you should probably be calling setCAList as a method like this.

my $ret2 = $ret->setCAList($self->param(CA_list));

Replies are listed 'Best First'.
Re^4: CGI::Appl can't find sub
by jimt999 (Initiate) on Jun 11, 2014 at 20:59 UTC

    Good thought, but init() doesn't return an object. It is re-used later in the same routine for the return codes of other calls.

    As I experimented more, I got a non-working case that did not even have the call. *Update* I mis-typed and aded an error that was not flagged at compile or runtime. Removed the comment about the "if".

      I thought Wordpad.exe from Microsoft was fine to edit it with.

      Well there's your problem! :)

      You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-05-26 12:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found