E
Eric Schwartz
Why does this pass a perl -c? Shouldn't the call to catch() fail on
an unquoted bareword? It's kinda cool in that it lets me do things
like that, but I'm a bit nervous that it might magically go away some
day.
#!/usr/bin/perl
use warnings;
use strict;
sub catch
{
return 1;
}
catch( -force, "this shouldn't work, should it?");
-=Eric
an unquoted bareword? It's kinda cool in that it lets me do things
like that, but I'm a bit nervous that it might magically go away some
day.
#!/usr/bin/perl
use warnings;
use strict;
sub catch
{
return 1;
}
catch( -force, "this shouldn't work, should it?");
-=Eric