http://www.perlmonks.org?node_id=131364


in reply to Unquoted strings with strict

I think it is a quoted string, though, because of the => operator. Maybe it's only a matter of semantics, though.

Replies are listed 'Best First'.
Re: Re: Unquoted strings with strict
by robin (Chaplain) on Dec 12, 2001 at 23:45 UTC
    It's arguable, I suppose. Maybe it's better to use => consistently:
    use warnings; use strict; ;my $foo => ;$foo = hello => ;print $foo =>
    (updated for symmetry)