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

Re^11: symbols, scope, and mod_perl

by Anonymous Monk
on Oct 01, 2012 at 13:03 UTC ( #996652=note: print w/replies, xml ) Need Help??


in reply to Re^10: symbols, scope, and mod_perl
in thread symbols, scope, and mod_perl

Maybe with the segfault -- but the persistence, well, you could write
use EXAMPLE; EXAMPLE->import;
then on each request my_dirt_sneaky_object_reference would be ->new

Replies are listed 'Best First'.
Re^12: symbols, scope, and mod_perl
by acanfora (Novice) on Oct 01, 2012 at 13:37 UTC
    import is called implicitly by use.
      yes, once, didn't you say you wanted a fresh one upon each request?
        Great remark, indeed :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996652]
help
Chatterbox?
[ELISHEVA]: csv_detect_bom doesn't work either
[erix]: (SCNR)
[ELISHEVA]: I may have to resort to SOPW - but was hoping that this would be something simple
[erix]: I'd just remove the BOM, it is pretty simple
[ELISHEVA]: Simple yes. and I did consider that. but this isn't one off . An important data source that I don't control is generating bom prefixed utf8 files and I'd rather not have to be munging files every few months.
[erix]: on teh other hand a SOPW is pretty much garanteed to get an answer from tux (and probably the module fixed)
[ELISHEVA]: plus it bugs me that something that *should* be simple, *should* work- unicode and noms aren't exactly the new kids on the block
[ELISHEVA]: well then since the obvious possible mistakes on my part have been ruled out, SOPW it is.
[ELISHEVA]: the data source, or one of them, is the OECD - they provide a *lot* of data that ought to be easily available to perl programmers.
[erix]: it might be cunning to mention the module in the title... :)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-05-28 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?