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
In reply to Re: Re: require vs eval
by antirice
in thread require vs eval
by antirice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |