in reply to Re: The most annoying common way to get a string literal in Perl is...
in thread The most annoying common way to get a string literal in Perl is...
I voted for bareword too. But I don't consider one => 'un' as being bareword as => explicitly (AFAIK) defines the word to it's left as being quoted.
OTOH I render $en2fr{one} as being use of a bareword which I absolutely dislike. Consider this example and tell me without testing it's output:
OTOH I render $en2fr{one} as being use of a bareword which I absolutely dislike. Consider this example and tell me without testing it's output:
$umask= umask; $hash{$umask}='umask value'; $hash{'umask'}='umask text'; print $hash{umask};
- Is the output 'umask text'?
How can you make sure it will be 'umask value'? - Or is the output 'umask value'?
How can you make sure it will be 'umask text'?
|
---|
In Section
Past Polls