Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

scoped namespace?

by Anonymous Monk
on Jun 16, 2003 at 23:14 UTC ( [id://266334]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    eval "require './data_to_import.dat'" if -f './data_to_import.dat';
    $self->{imported_data} = $foo_name_space::data unless $@;
    
  2. or download this
    { local *foo_name_spane::data;  eval "require './data_to_import.dat'";
    +  $self->{imported_data} = $foo_name_space::data unless $@; }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://266334]
Front-paged by diotalevi
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-25 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found