in reply to Re: Dangers of require 'file.pl'
in thread Dangers of require 'file.pl'

I see--in that case you end up with the same 'restrictions' as use packagename, which lead to the same benefits of robustness and nestability.

"Basically, displaying invisible data is not maintainable."

Replies are listed 'Best First'.
Re^3: Dangers of require 'file.pl'
by furry_marmot (Pilgrim) on Feb 25, 2011 at 21:48 UTC

    This was the way to import code prior to the invention of Perl modules (Perl 5?). Anyway, this use of require is obsolete now. It's not much more than an eval of some external code.

    --marmot