#!/usr/bin/perl -w use strict; use Tk; # use Tk qw( exit ); # Also produces same error. exit main( @ARGV ); sub main { # This part doesn't matter } #### Argument "main" isn't numeric in subroutine entry at tk.pl line 6. #### exit( main( @ARGV ) ); #### use base qw(Exporter DynaLoader); @EXPORT = qw(Exists Ev exit MainLoop DoOneEvent tkinit);