Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Problem with AUTOLOAD and Windows

by Brutha (Friar)
on Nov 23, 2011 at 12:59 UTC ( [id://939652]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem with AUTOLOAD and Windows
in thread Problem with AUTOLOAD and Windows

The AUTOLOAD part of the code did not change from the first CPAN version of this module 11 years ago as is more or less the same as advised cpan-AutoLoader. Nevertheless, the constant is found. Here are my trace modifications from the XS:

static double constant(name, arg) char *name; int arg; { errno = 0; printf ("constant '%s',%d\n", name, arg); switch (*name) { ... if (strEQ(name, "SQL_PARAM_INPUT_OUTPUT")) #ifdef SQL_PARAM_INPUT_OUTPUT printf("Now I'm here and return %d\n",SQL_PARAM_INPUT_OUTPUT ) +; return SQL_PARAM_INPUT_OUTPUT; #else goto not_there; #endif ...

Otherwise this is unmodified code from CPAN (or IBM as You like).

This code should work, it has to be either with my local (missing) configuration, localization or ... well, I have no clue.

And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
(Terry Pratchett, Small Gods)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-24 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found