in reply to RFC: Sub::Auto - lazy loading revisited (now: AutoReloader)

Your name needs work. If this is a reloading AutoLoader then a name like AutoReloader might fit the bill better. Sub::Auto sounds like its confused about what its purpose in life is. Also, you didn't mention autouse which is also a nice way to get where you're going. It doesn't do any reloading though. Were you to post a reloading autouse it'd be good to call it autoreuse or similar.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

  • Comment on Re: RFC: Sub::Auto - lazy loading revisited

Replies are listed 'Best First'.
Re^2: RFC: Sub::Auto - lazy loading revisited
by shmem (Chancellor) on Feb 20, 2007 at 11:08 UTC
    Thanks for the suggestion. tye suggested in the CB to put it under the Devel namespace, but that would surely implicitly forbid the use in a productive environment - where this module might be useful, too.

    I think I'll go with just AutoReloader, ++diotalevi.

    autouse is for modules, while this one is for module methods or functions; I've included the reference.

    A working autoreuse for modules that use AutoReloader is a challenge... as is autousing AutoReloader. Will check that.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

      Devel:: doesn't mean things that are only for using during development. It's just a grab-bag of tools most of which operate directly on the language.

      ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊