Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

OO Configuration Values (version 2)

by trs80 (Priest)
on Apr 22, 2003 at 23:58 UTC ( #252414=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    package My::Config;
    ...
    
    1;
    
  2. or download this
    package My::Base;
    
    ...
    
    1;
    
  3. or download this
    !/usr/bin/perl
    
    ...
    $config->base_directory("/home/otheruser/");
    
    print $config->base_directory() , "\n";
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    $object->config->base_directory("/home/otheruser/");
    
    print $object->config->base_directory() , "\n";
    
  5. or download this
    #!/usr/bin/perl
    
    ...
    
    print $object->base_directory() , "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://252414]
Approved by grep
Front-paged by Enlil
help
Chatterbox?
[marto]: woken by ducks, holiday problems :p
[Discipulus]: for a debud session? ;=)
Discipulus debug..
[Corion]: deduck?

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-05-25 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?