diff options
Diffstat (limited to 'Master/perltl/site/lib/Tk/widgets.pm')
-rw-r--r-- | Master/perltl/site/lib/Tk/widgets.pm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/perltl/site/lib/Tk/widgets.pm b/Master/perltl/site/lib/Tk/widgets.pm new file mode 100644 index 00000000000..742866216cc --- /dev/null +++ b/Master/perltl/site/lib/Tk/widgets.pm @@ -0,0 +1,21 @@ +package Tk::widgets; +use Carp; + +use vars qw($VERSION); +$VERSION = '3.011'; # $Id: //depot/Tk8/Tk/widgets.pm#11 $ + +sub import +{ + my $class = shift; + foreach (@_) + { + local $SIG{__DIE__} = \&Carp::croak; + # carp "$_ already loaded" if (exists $INC{"Tk/$_.pm"}); + require "Tk/$_.pm"; + } +} + +1; +__END__ + +=cut |