in reply to use dirty .pm

The only solution I can think of is something like
use strict; use warnings; my $doxydocs = do "dirty.pm";

Replies are listed 'Best First'.
Re^2: use dirty .pm
by Jaap (Curate) on Feb 21, 2005 at 10:29 UTC
    If i do that, $doxydocs contains the value "1", and i still can't access the data. Even when i do this:
    my $a = do "$ARGV[0]/DoxyDocs.pm"; print Dumper($doxydocs), "\n";
    I get the error that $doxydocs is empty.
      In your example, $doxydocs is in fact empty, but $a is not. Try print Dumper($a)."\n";