in reply to Re^2: Syntax error makes perl hang
in thread Syntax error makes perl hang
Here is an odd piece in deed. Apparently it is dependent on the actual names you are using in that they contain a _. I have no idea why but check this out.
C:\Perl\Tests>perl -c -e"$var = { aa...aaaa}" -e syntax OK C:\Perl\Tests>perl -c -e"$var = { aa...aaaa_}" C:\Perl\Tests>perl -c -e"$var = { 'aa'...'aaaa_'}" C:\Perl\Tests>
The last two had to be killed as they consumed all the processors power. The first flew through in no time, obviously not computing. So some little thing is causeing the _ to make it actualy execute that code.
BTW C:\Perl\Tests>perl -c -e"'aa'...'aaaa_'" without the hash ref doesn't cause any delay, and checks out perfectly.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Syntax error makes perl hang
by cfreak (Chaplain) on Aug 15, 2005 at 20:53 UTC | |
by gellyfish (Monsignor) on Aug 15, 2005 at 21:14 UTC | |
by eric256 (Parson) on Aug 15, 2005 at 22:06 UTC | |
by cfreak (Chaplain) on Aug 16, 2005 at 14:07 UTC | |
by Ven'Tatsu (Deacon) on Aug 16, 2005 at 18:40 UTC | |
by gellyfish (Monsignor) on Aug 16, 2005 at 18:55 UTC | |
|
Re^4: Syntax error makes perl hang
by Tanktalus (Canon) on Aug 16, 2005 at 03:24 UTC |