Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: A simple import() for those special moments (bugfixes)

by ihb (Deacon)
on Jan 20, 2003 at 12:20 UTC ( #228329=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
        package Foo::foo_bar;
      use Foo;
      print $foo_bar::bar; # 'BAR'!
  2. or download this
        sub import {
            my $caller = caller() . '::';
            *{"$caller$_"} = *{__PACKAGE__ . "::$_"}
                for grep !/::$/ && /$exported/, keys %{__PACKAGE__ . '::'}
  3. or download this
      use Exporter::Pattern qr/PATTERN/;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://228329]
[MidLifeXis]: More opportunities for anonymous snafus :-)
[MidLifeXis]: In a small group / company, at least you know who needs to buy the next round of beer for their mess-up.
[MidLifeXis]: :-)
[Discipulus]: are sure you are not really named "%Firstname% %Lastname%..." ? have you check your identity card?
[Discipulus]: Bobby Tables?

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2017-01-19 12:19 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (170 votes). Check out past polls.