summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/test
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-04-28 15:49:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-04-28 15:49:18 +0000
commit3c8049e7cab271b630f0aa25ea251db7d21c24a0 (patch)
treea5760370bde35207fa33254da99b450ea4984859 /perl_checker.src/test
parent9e7c99bf0e3933c1dbe21f6468c7c34644411f3b (diff)
downloadperl-MDK-Common-3c8049e7cab271b630f0aa25ea251db7d21c24a0.tar
perl-MDK-Common-3c8049e7cab271b630f0aa25ea251db7d21c24a0.tar.gz
perl-MDK-Common-3c8049e7cab271b630f0aa25ea251db7d21c24a0.tar.bz2
perl-MDK-Common-3c8049e7cab271b630f0aa25ea251db7d21c24a0.tar.xz
perl-MDK-Common-3c8049e7cab271b630f0aa25ea251db7d21c24a0.zip
suggest replacing system(qq(foo "$xxx")) with system('foo', $xxx)
Diffstat (limited to 'perl_checker.src/test')
-rw-r--r--perl_checker.src/test/various_errors.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl_checker.src/test/various_errors.t b/perl_checker.src/test/various_errors.t
index 0ad2154..535034b 100644
--- a/perl_checker.src/test/various_errors.t
+++ b/perl_checker.src/test/various_errors.t
@@ -22,6 +22,8 @@ join(@l) first argument of join() must be a scal
join(',', 'foo') join('...', $foo) is the same as $foo
+system(qq(foo "$xxx")) instead of quoting parameters you should give a list of arguments
+
my (@l2, $xxx) = @l; @l2 takes all the arguments, $xxx is undef in any case
$bad undeclared variable $bad