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?
Back to
Seekers of Perl Wisdom