- or download this
@x = ( f(), g(), h() );
- or download this
$x = ( f(), g(), h() );
- or download this
( f(), g(), h() );
1;
- or download this
sub { ( f(), g(), h() ) }
- or download this
@x = sub { ( f(), g(), h() ) }->();
- or download this
$x = sub { ( f(), g(), h() ) }->();
- or download this
use strict;
use warnings;
...
print('cs: '); $x = sub { ( cx(), cx(), cx() ) }->(); print("\n\n");
print('l: '); @x = ( cx(), cx(), cx() ) ; print("\n");
print('cl: '); @x = sub { ( cx(), cx(), cx() ) }->(); print("\n");
- or download this
v: vvv
cv: vvv
...
l: lll
cl: lll
- or download this
use strict;
use warnings;
...
my $x;
$x = ( 'abc', 'def' ) ; # Warns
$x = sub { ( 'abc', 'def' ) }->(); # Doesn't warn
- or download this
Useless use of a constant in void context at line 5.