http://www.perlmonks.org?node_id=228530


in reply to A simple import() for those special moments

When I want to lighten up, I use my slightly longer stab.

-Lee

"To be civilized is to deny one's nature."
  • Comment on Re: A simple import() for those special moments

Replies are listed 'Best First'.
Re^2: A simple import() for those special moments
by Aristotle (Chancellor) on Jan 21, 2003 at 06:41 UTC
    Nice, although the interface (several globals) is just like Exporter's. Checking $VERSION is something I hadn't thought about.

    Makeshifts last the longest.

      Thanks. It's easy enough to make them lexicals. It just didn't bother me to have them our variables. As far as matching Exporters semantics, I wanted it to. I wrote it when tilly's involvment in Exporter was questioned but it made a nice drop-in for existing modules that I wanted to lighten up for CGI purposes.

      -Lee

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