Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: scoped namespace?

by Anonymous Monk
on Jun 17, 2003 at 02:49 UTC ( #266362=note: print w/replies, xml ) Need Help??


in reply to Re: scoped namespace?
in thread scoped namespace?

Interesting... thanks for the pointer. Safe.pm might be another possible solution.

Replies are listed 'Best First'.
Re: Re: Re: scoped namespace?
by crouchingpenguin (Priest) on Jun 17, 2003 at 03:55 UTC

    Like the following...

    #!/usr/bin/perl use strict; use warnings; use Safe; my $data = Safe->new()->rdo('./data_to_import.dat');

    cp
    ----
    "Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."
Re: Re: Re: scoped namespace?
by shotgunefx (Parson) on Jun 17, 2003 at 04:57 UTC
    If package vars persisting across requests are the problem, why not look at mod_perl PerlRun

    -Lee

    "To be civilized is to deny one's nature."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2021-10-22 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?