Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Modperl2 + mpm_event + seemingly forgotten global vars

by shmem (Chancellor)
on Mar 28, 2017 at 20:15 UTC ( #1186282=note: print w/replies, xml ) Need Help??


in reply to Modperl2 + mpm_event + seemingly forgotten global vars

Hmm...

if(!$obj) { $obj = {one => 1}; ... $r->print('mod_perl rules!' . $obj->{1});

You probably meant

$r->print('mod_perl rules!' . $obj->{one});

or vice versa.

Is that hashref $obj being used elsewhere in your code?

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^2: Modperl2 + mpm_event + seemingly forgotten global vars
by spellila (Initiate) on Mar 29, 2017 at 10:46 UTC
    Yeah, thanks. Was my fault, i corrected it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2023-03-29 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (72 votes). Check out past polls.

    Notices?