in reply to Re^4: Is require still required?
in thread Is require still required?
This is all stated in the documentation for require, inclusive the role of %INC:
if (exists $INC{$filename}) { return 1 if $INC{$filename}; croak "Compilation failed in require"; }
To import a fle more than once you have to delete from %INC of course.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Is require still required?
by choroba (Cardinal) on Feb 03, 2024 at 20:04 UTC | |
by LanX (Saint) on Feb 03, 2024 at 21:29 UTC |