[nama] Re: AE:timer

  • From: Joel Roth <joelz@xxxxxxxxx>
  • To: nama@xxxxxxxxxxxxx
  • Date: Wed, 16 Feb 2011 08:49:58 -1000

On Wed, Feb 16, 2011 at 11:47:47AM -0500, S. Massy wrote:
> On Tue, Feb 15, 2011 at 11:56:12PM -1000, Joel Roth wrote:
> > On Wed, Feb 18, 2011 at 03:33:58AM -0500, S. Massy wrote:
> > > Hey,
> > > 
> > > Last time I ran nama, couple days ago, it was just fine; now I get this:
> > > Undefined subroutine &AE::timer called at
> > >    /usr/local/share/perl/5.10.1/Audio/Nama.pm line 5392.
> > > 
> > > I can only think that something got uninstalled by mistake, but I can't
> > > think what. 
> > > 
> > > libanyevent-perl is installed, according to dpkg...
> > > 
> > > Thoughts?
> > 
> > Is it possible you have more than one perl installed
> > on your system?
> > 
> > What is the output of 'which perl' ?
> /usr/bin/perl
> (Version 10.5.1 is the only version installed.)
> 
> > 
> > Also, what is the output of 'locate AnyEvent.pm' ?
> /usr/share/perl5/AnyEvent.pm
> 
> > 
> > Is that location found among the directories you see
> > displayed in response to
> > 
> >    perl -e 'print join $/, @INC' 
> Yes, it is.
> 
> > Hope this helps.
> I confess I'm a little bewildered. I'm going to poke around some more;
> in the meantime, let me know if any sudden inspiration occurs.

Does this generate an error?

    perl -MAnyEvent -e1

What about this:

    perl -MAnyEvent -MEvent -e '$ae = AE::timer(1,0,sub{print"time!"}); 
Event::loop()'

> I'll report back, hopefully.

If I don't hear anything in 24 hours, I'll send in the cavalry.


 
> Cheers,
> S.M.
> 
> 
> > 
> > > Puzzledly and tiredly yours,
> > 
> > > S.M.
> > > -- 
> > > 
> > 
> > -- 
> > Joel Roth
> > 
> > 
> 
> -- 
> 

-- 
Joel Roth

Other related posts: