in reply to Re: Re: setting 'no strict refs' in a module from the script
in thread setting 'no strict refs' in a module from the script

I don't think perl will do that. Perhaps you are using some other module that is using Term::Cap? Here are some things that will:
use re 'debugcolor'; #or use Pod::Text::Termcap; #or (shell command) $ pod2text -t #or use Term::Readline; # unless ornaments are disabled
If it is coming from Term::Readline, you may be able to disable ornaments by setting an environment variable PERL_RL=" ornaments=0"

Replies are listed 'Best First'.
Re: Re: Re: Re: setting 'no strict refs' in a module from the script
by zentara (Cardinal) on Jan 27, 2004 at 13:11 UTC
    Oops, sorry, you are right. There wasn't a use statement, but Term::Cap was called in a statement directly.
    $terminal = Tgetent Term::Cap {TERM => undef, OSPEED => 9600};
    In case any of you are interested, the game is "textmaze" by robobunny, at textmaze

    It's alot of fun considering and it's easy to win. :-)

      There is a require Term::Cap there in version 1.0. Later versions use Curses instead (which doesn't compile with threads or multiplicity-enabled perls--needs a s/Perl_sv_isa/sv_isa/, and also has no tests :( ).