Using scalar reference : Scalar Reference « Language Basics « Perl






Using scalar reference

   

*MAXFILES = \100;
print "$MAXFILES\n";

   
    
    
  








Related examples in the same category

1.Get reference to a scalar
2.Passing scalar variable to a subroutine by reference using $_
3.Scalar alias
4.The backslash operator means "adddress of"