Jonathan has asked for the wisdom of the Perl Monks concerning the following question:
hmmm Ok, this modest script doesn't compile
It's not a big deal but Google didn't help and I would like to know why this happens?
#!/usr/local/bin/perl -w use strict; open LE, "<y" or die "can't open y: $!"; close LE;
It looks like using the uppercase version of any of the string comparison operators as a file handle name will fail.Use of LE is deprecated at x line 3. Not enough arguments for open at x line 3, near "open LE" syntax error at x line 3, near "LE," Use of LE is deprecated at x line 4. syntax error at b line 4, near "LE;" Execution of x aborted due to compilation errors.
It's not a big deal but Google didn't help and I would like to know why this happens?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Use of LE is deprecated
by bigj (Monk) on Jul 08, 2003 at 13:23 UTC | |
Re: Use of LE is deprecated
by Albannach (Monsignor) on Jul 08, 2003 at 13:30 UTC | |
Re: Use of LE is deprecated
by Abigail-II (Bishop) on Jul 08, 2003 at 20:54 UTC |
Back to
Seekers of Perl Wisdom