perldiag: Rewrap symref error for better splain output
authorFather Chrysostomos <sprout@cpan.org>
Mon, 21 May 2012 20:52:29 +0000 (13:52 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 22 May 2012 00:51:55 +0000 (17:51 -0700)
commitb41bf23f2b8c6b924aea825b7135a4e70a5ebd29
treeb8739775cf91653e8e597fb3c6fa42ddfed7f5b6
parent3f38d37f755ccbb11c56a809829adea1496d2464
perldiag: Rewrap symref error for better splain output

Before:

    (F) You've told Perl to dereference a string, something which use strict
    blocks to prevent it happening accidentally. See
    "Symbolic references" in perlref. This can be triggered by an @ or $ in a
    double-quoted string immediately before interpolating a variable, for example
    in "user @$twitter_id", which says to treat the contents of $twitter_id
    as an array reference; use a \ to have a literal @ symbol followed by the
    contents of $twitter_id: "user \@$twitter_id".

After:

    (F) You've told Perl to dereference a string, something which
    use strict blocks to prevent it happening accidentally.  See
    "Symbolic references" in perlref.  This can be triggered by an @ or $
    in a double-quoted string immediately before interpolating a variable,
    for example in "user @$twitter_id", which says to treat the contents
    of $twitter_id as an array reference; use a \ to have a literal @
    symbol followed by the contents of $twitter_id: "user \@$twitter_id".
pod/perldiag.pod