SPUG: do vs. eval with Data::Dumper
Tim Maher/CONSULTIX
tim at consultix-inc.com
Wed Jan 26 12:57:13 CST 2000
On Wed, Jan 26, 2000 at 10:47:17AM -0800, Jeremy Devenport wrote:
> Maybe this little tidbit from `perldoc -f do` will help.
>
> It also differs in that code evaluated with 'do FILENAME'
> cannot see lexicals in the enclosing scope; 'eval STRING' does.
>
> This is listed as one of the minor details in the second paragraph.
Not if you're looking at the Camel, p. 158! It omits that "minor detail"!
Guess I need to have less faith in Camels from now on ...
>
> Jeremy
*========================================================================*
| Tim Maher, PhD Consultix & (206) 781-UNIX/8649 |
| Pacific Software Gurus, Inc Email: tim at consultix-inc.com |
| UNIX/Linux & Perl Training http://www.consultix-inc.com |
| 2/22: UNIX 2/28: Perl Modules 2/29: Int. Perl 3/3: Pattern Matching |
*========================================================================*
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
Email to majordomo at pm.org: ACTION spug-list your_address
More information about the spug-list
mailing list