in reply to Re^2: Perl Tk on Xubuntu problem.
in thread Perl Tk on Xubuntu problem.
A little experimentation suggests that in addition to not running with warnings enabled (was Mainloop the innocuous 'useless constant' in question?), the miserable supplicant was also running without strictures! If this is so, the period of hair-shirt-wearing is adjudged to be 6 months!
>perl -le "use Tk; Mainloop; " >perl -w -le "use Tk; Mainloop; " Useless use of a constant (Mainloop) in void context at ... >perl -wMstrict -le "use Tk; Mainloop; " Bareword "Mainloop" not allowed while "strict subs" in use at ... Execution of -e aborted due to compilation errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl Tk on Xubuntu problem.
by jimford (Initiate) on Jun 17, 2011 at 19:36 UTC | |
by AnomalousMonk (Archbishop) on Jun 18, 2011 at 17:30 UTC |