From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

## name Basic passes
## failures 0
## cut
%hash = %{ $some_ref };
@array = @{ $some_ref };
$scalar = ${ $some_ref };
$some_ref = \%hash;
$some_ref = \@array;
$some_ref = \$scalar;
$some_ref = \&code;
#-----------------------------------------------------------------------------
## name Basic failures
## failures 6
## cut
%hash = %$some_ref;
%array = @$some_ref;
%scalar = $$some_ref;
%hash = ( %$some_ref );
%array = ( @$some_ref );
%scalar = ( $$some_ref );
#-----------------------------------------------------------------------------
## name Multiplication is not a glob
# old PPI bug (fixed as of PPI v1.112): multiplication is mistakenly
# interpreted as a glob.
## failures 0
## cut
$value = $one*$two;
#-----------------------------------------------------------------------------
##############################################################################
# $Date: 2008-03-16 17:40:45 -0500 (Sun, 16 Mar 2008) $
# $Author: clonezone $
# $Revision: 2187 $
##############################################################################
# Local Variables:
# mode: cperl
# cperl-indent-level: 4
# fill-column: 78
# indent-tabs-mode: nil
# c-indentation-style: bsd
# End:
# ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :