in reply to Re: Undefined subroutine
in thread Undefined subroutine

I'll give this a bash, but I can't help wondering why I need to use OO stuff though. I just want to use a module straight like I would with
#! /use/bin/perl use strict; use Term::ReadKey; ReadMode( "noecho"); print "Enter pwd please :"; chomp (my $pwd = <>); ReadMode ("original") ; print "\nYou typed $pwd!\n";
where ReadMode is a subroutine in the Term::ReadKey module.