in reply to Re: Not strict
in thread A Perl aptitude test

But that is more laziness than necessity e.g
use strict; ... $GMPN::Database::Table::{"$_::"}{pre_insert} = sub { ... };
Really must get around to writing that meditation on how one essentially never needs to turn off strictures.
HTH

_________
broquaint

Replies are listed 'Best First'.
(blooper)
by Aristotle (Chancellor) on May 04, 2003 at 04:40 UTC
    That won't work. It has to be
    *{$GMPN::Database::Table::{"$_::"}{pre_insert}} = sub { ... };
    Ok, I need some salt with that foot.

    Makeshifts last the longest.

      Take off your shoes and socks first. Feet are pretty damn salty---trust me on this one. ;-)

      --
      Allolex

Re: Re: Re: Not strict
by diotalevi (Canon) on May 03, 2003 at 16:04 UTC

    Oh yuck, but that's some really ugly syntax. I'd definately prefer removing strict refs (locally) to using that syntax.