http://qs321.pair.com?node_id=928841


in reply to Anonymous function called in forbidden scalar context

Are you (or your modules) using Memoize? Google returns many hits with this module.
  • Comment on Re: Anonymous function called in forbidden scalar context

Replies are listed 'Best First'.
Re^2: Anonymous function called in forbidden scalar context
by vit (Friar) on Sep 30, 2011 at 15:43 UTC
    No
      Are you sure? From the source:

      package Lingua::EN::Tagger; our $VERSION = '0.16'; use warnings; use strict; use Carp; use File::Spec; use FileHandle; use HTML::TokeParser; use Lingua::Stem::En; use Memoize; use Storable;
        That's right. I just notices Memoise. Couple of functions are memoised and when I commented this id did not work.

        Is Memoize really useful for computations? How it works?