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

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. :-)

  • Comment on Re: Re: Re: Re: setting 'no strict refs' in a module from the script
  • Download Code

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: setting 'no strict refs' in a module from the script
by ysth (Canon) on Jan 27, 2004 at 17:30 UTC
    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 :( ).