in reply to Re: require vs eval
in thread require vs eval
Ah, you're absolutely right BrowserUK. Straight from perldoc -f require:
...Otherwise, demands that a library file be included if it hasn't already been included. The file is included via the do-FILE mechanism, which is essentially just a variety of eval...
In other words, DOH! *slaps own hand for RTFM for eval but not for require*
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
|
|---|