Help for this page

Select Code to Download


  1. or download this
    use v5.14;
    use warnings;
    use strict;
    ...
    say (1+2)*3; # Same as (say(1+2))*3;
    say+(1+2)*3; # Same as say((1+2)*3);
    my_say+(1+2)*3; # Same as my_say()+(1+2)*3;
    
  2. or download this
    say (...) interpreted as function at test.pl line 10.
    Useless use of multiplication (*) in void context at test.pl line 10.
    Useless use of addition (+) in void context at test.pl line 12.
    3
    9
    No arguments!