File: widgets.pm

package info (click to toggle)
perl-tk 1%3A804.036-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 35,076 kB
  • sloc: ansic: 349,553; perl: 52,292; sh: 17,904; makefile: 5,699; asm: 3,565; ada: 1,681; pascal: 1,089; cpp: 1,006; yacc: 883; cs: 879
file content (20 lines) | stat: -rw-r--r-- 309 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package Tk::widgets;
use Carp;

use vars qw($VERSION);
$VERSION = '4.005'; # $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__