Menu

#48 Config.pm should export $meta, $core and $site singletons

Alpha
closed
None
2014-06-01
2014-05-28
Smith Farm
No

Config.pm should export $meta, $core and $site singletons and implement an AUTOLOAD routine. This will be a nice replacement for the current clumsy get_param. We could then do, e.g.:

use App::CELL ( $CELL $log $meta $site );
if ( $meta->MY_PARAM ) { # GO! }
$meta->set(MY_PARAM, 'foobar');

Discussion

  • Smith Farm

    Smith Farm - 2014-05-28

    singletons implemented in 0.140, but still lack a 'set' method

     
  • Smith Farm

    Smith Farm - 2014-06-01

    finished in 0.149

     
  • Smith Farm

    Smith Farm - 2014-06-01
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.