Path: utzoo!attcan!uunet!cs.utexas.edu!usc!jarthur!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Bug with do inside eval? Message-ID: <7565@jpl-devvax.JPL.NASA.GOV> Date: 27 Mar 90 18:42:04 GMT References: <412@oha.UUCP> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 25 In article <412@oha.UUCP> tony@oha.UUCP writes: : Program: : print "Test 1\n"; do "ioctl.pl"; : print "Test 2\n"; eval `cat /sys/perl/lib/ioctl.pl`; : print "Test 3\n"; eval "do 'ioctl.pl'"; : print "Done\n"; : : Output: : Test 1 : Test 2 : Test 3 : Unrecognized character \37777777614 ignored at /sys/perl/lib/ line 1. : Unrecognized character \37777777664 ignored at /sys/perl/lib/ line 1. : Unrecognized character \005 ignored at /sys/perl/lib/ line 1. : Unrecognized character \37777777604 ignored at /sys/perl/lib/ line 1. : sh: 10635 Memory fault - core dumped Already fixed for patch 16. Hopefully out later today. On the other hand, Spring is sprung, the grass is ris' Where last year's reckless driver is. Larry