summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl.old/lib/Tk/widgets.pm
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-05-12 16:51:27 +0000
committerNorbert Preining <preining@logic.at>2010-05-12 16:51:27 +0000
commitb645030efc22e13c2498a1522083634ab91b2de1 (patch)
treec75c7a71998200d419af56eb755dac2f5115b585 /Master/tlpkg/tlperl.old/lib/Tk/widgets.pm
parent44ccd4efc5352f9eb1099ba357708e7b5ff03b83 (diff)
move tlperl to tlperl.old
git-svn-id: svn://tug.org/texlive/trunk@18209 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlperl.old/lib/Tk/widgets.pm')
-rw-r--r--Master/tlpkg/tlperl.old/lib/Tk/widgets.pm21
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl.old/lib/Tk/widgets.pm b/Master/tlpkg/tlperl.old/lib/Tk/widgets.pm
new file mode 100644
index 00000000000..0d628027810
--- /dev/null
+++ b/Master/tlpkg/tlperl.old/lib/Tk/widgets.pm
@@ -0,0 +1,21 @@
+package Tk::widgets;
+use Carp;
+
+use vars qw($VERSION);
+$VERSION = '4.004'; # $Id: //depot/Tkutf8/Tk/widgets.pm#4 $
+
+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