On Wed, Aug 5, 2009 at 14:52, Bryan R Harris<bryan_r_har...@raytheon.com> wrote:
snip
> I didn't change anything, actually -- it never printed the "8/2 Updated
> database" string.  It prompted with the "Enter a date and note:", I typed
> "Uh." and that was it.  Maybe my version of perl doesn't have a good
> Term::Readline::Perl?  How do I find out?  I'm on OS X 10.5, which is still
> at perl 5.8.8.
snip

Hmm, it looks like Term::ReadLine::Perl needs to be installed.  You
can get it on CPAN: http://search.cpan.org/dist/Term-ReadLine-Perl

snip
>> A method is a subroutine called on an object:
>>
>> $obj->method();
>
> I've never used objects -- do I need to understand them to use
> Term::Readline?
snip

Not really, you just need to know that you create an object by saying

my $obj = Class->new(some arguments);

and that you call functions on an object by saying

$obj->function_name(some arguments);

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to