zentara has asked for the wisdom of the Perl Monks concerning the following question:
So Ok, easy enough to make a copy of Term::Cap and throw a 'no strict refs' into it.Can't use string ("STDOUT") as a symbol ref while "strict refs" in use at /usr/lib/perl5/5.8.0/Term/Cap.pm line 576.
But I was wondering if there is a way to tell Term::Cap to not to use strict refs from the script. Something like:
Another problem is that Term::Cap is not actually called by the script, but by Perl itself. Is there some trick?#!/usr/bin/perl use warnings; use Term::Cap 'no strict refs';
|
|---|