blib/script/data_type_string_backslashes.pl untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/env perl
2  
3 use Perl::Types;
4 use strict;
5 use warnings;
6 our $VERSION = 0.001_000;
7  
8 ## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
9 ## no critic qw(RequireInterpolationOfMetachars) # USER DEFAULT 2: allow single-quoted control characters & sigils
10  
11 # ERROR ECOPARP00, Unexpected Token: {
12 #print q{\ } . "\n";
13 print q{\\n} . "\n";
14 #print q{\\\ } . "\n";
15 print q{\\\\n} . "\n";
16 #print q{\\\\\ } . "\n";
17 print q{\\\\\\n} . "\n";
18 #print q{\\\\\\\ } . "\n";
19 print q{\\\\\\\\n} . "\n";
20  
21 #print '\n' . "\n";
22 print '\\n' . "\n";
23 #print '\\\n' . "\n";
24 print '\\\\n' . "\n";
25 #print '\\\\\n' . "\n";
26 print '\\\\\\n' . "\n";
27 #print '\\\\\\\n' . "\n";
28 print '\\\\\\\\n' . "\n";
29  
30 # ERROR ECOPAPC02, ProhibitInterpolationOfLiterals
31 #print "\\n" . "\n";
32 #print "\\\\n" . "\n";
33 #print "\\\\\\n" . "\n";
34 #print "\\\\\\\\n" . "\n";
35