http://www.perlmonks.org?node_id=556641


in reply to Re: Best practice or cargo cult?
in thread Best practice or cargo cult?

It's called Regexp::DefaultFlags

Replies are listed 'Best First'.
Re^3: Best practice or cargo cult?
by Jim (Curate) on Jun 21, 2006 at 16:18 UTC
    s/ (?<= Regexp:: ) Autof (?= lags) /DefaultF/gxms ? 1 : 0;
      That would be a yes (1). I just found this on the PBP errata page:

      [242] 1st paragraph; Regexp::Autoflags does not exist in CPAN. Regexp::Autoflags should be: Regexp::DefaultFlags