5 %hash = %{ $some_ref };
6 @array = @{ $some_ref };
7 $scalar = ${ $some_ref };
14 #-----------------------------------------------------------------------------
16 ## name Basic failures
24 %hash = ( %$some_ref );
25 %array = ( @$some_ref );
26 %scalar = ( $$some_ref );
28 #-----------------------------------------------------------------------------
30 ## name Multiplication is not a glob
31 # old PPI bug (fixed as of PPI v1.112): multiplication is mistakenly
32 # interpreted as a glob.
38 #-----------------------------------------------------------------------------
40 ##############################################################################
41 # $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/Perl-Critic/t/References/ProhibitDoubleSigils.run $
42 # $Date: 2008-03-16 17:40:45 -0500 (Sun, 16 Mar 2008) $
43 # $Author: clonezone $
45 ##############################################################################
49 # cperl-indent-level: 4
51 # indent-tabs-mode: nil
52 # c-indentation-style: bsd
54 # ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :