> On Sat, 01 Apr 2006 09:29:47 -0700, Bryan Harris wrote:
>> This looks very interesting... I downloaded it, but I have no idea how to
>> install it, though. I'm a modules-idiot. I tried putting the .pm file in
>> the current directory and putting "use TimeTick.pm;" at the beginning of my
>> code, but it doesn't work. I'd like to be able to just haul the .pm file
>> around with my script and not have to "install" it on each machine I use...
>
> Make that
>
> use TimeTick;
>
> and you might want to get the Alpaca book...
Okay, now I get errors:
**************************************
% ./pma base_2.pmai
Undefined subroutine &main::timetick called at ./pma line 1557.
1.0000 Timeticker for pma finishing
%
**************************************
line 1557 is:
timetick("Starting main loop");
Did I do something wrong? This is the beginners list, right? =)
- B
ps. I have the Alpaca book, I have the whole Perl Bookshelf CD (best $60 I
ever spent) -- but even after reading it the whole "modules" process seems
confusing to me, I think there's a magic key that my brain doesn't have yet.
(Also, my code has to be portable, lots of people use my scripts and I can't
install modules on their machines.)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>