5 print "this is not $literal";
6 print qq{this is not $literal};
7 print "this is not literal\n";
8 print qq{this is not literal\n};
10 #-----------------------------------------------------------------------------
16 print 'this is not $literal';
17 print q{this is not $literal};
18 print 'this is not literal\n';
19 print q{this is not literal\n};
21 #-----------------------------------------------------------------------------
23 ## name Sigil characters not looking like sigils
27 $sigil_at_end_of_word = 'list@ scalar$';
28 $sigil_at_end_of_word = 'scalar$ list@';
29 $sigil_at_end_of_word = q(list@ scalar$);
30 $sigil_at_end_of_word = q(scalar$ list@);
31 %options = ( 'foo=s@' => \@foo); #Like with Getopt::Long
32 %options = ( q{foo=s@} => \@foo); #Like with Getopt::Long
34 #-----------------------------------------------------------------------------
36 ## name Things that look like email addresses are exempt
40 $simple = 'me@foo.bar';
41 $complex = q{don-quixote@man-from.lamancha.org};
43 #-----------------------------------------------------------------------------
45 ## name Email address is part of larger string
46 ## TODO False positive: we should allow this but I'm feeling lazy right now.
50 $simple = 'Email: me@foo.bar';
51 $complex = q{"don-quixote@man-from.lamancha.org" is my address};
53 #-----------------------------------------------------------------------------
55 ##############################################################################
56 # $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/Perl-Critic/t/ValuesAndExpressions/RequireInterpolationOfMetachars.run $
57 # $Date: 2008-03-16 17:40:45 -0500 (Sun, 16 Mar 2008) $
58 # $Author: clonezone $
60 ##############################################################################
64 # cperl-indent-level: 4
66 # indent-tabs-mode: nil
67 # c-indentation-style: bsd
69 # ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :