summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/test/return_value.t
diff options
context:
space:
mode:
Diffstat (limited to 'perl_checker.src/test/return_value.t')
-rw-r--r--perl_checker.src/test/return_value.t23
1 files changed, 0 insertions, 23 deletions
diff --git a/perl_checker.src/test/return_value.t b/perl_checker.src/test/return_value.t
deleted file mode 100644
index b4786f5..0000000
--- a/perl_checker.src/test/return_value.t
+++ /dev/null
@@ -1,23 +0,0 @@
-if ($xxx or $yyy) {} value should be dropped
- context () is not compatible with context bool
-
-if ($xxx and $yyy) {} value should be dropped
- context () is not compatible with context bool
-
-$xxx && yyy(); value is dropped
-
-`xxx`; value is dropped
-
-/(.*)/; value is dropped
-
-'xxx'; value is dropped
-
-'xxx' if $xxx; value is dropped
-
-map { xxx($_) } @l; if you don't use the return value, use "foreach" instead of "map"
-
-$xxx = chomp; () context not accepted here
- context () is not compatible with context scalar
-
-$xxx = push @l, 1 () context not accepted here
- context () is not compatible with context scalar