Help for this page

Select Code to Download


  1. or download this
      use strict ; use warnings ;
    
      my $x = 57 ;
      print "\${x}   = '", ${x}, "'\n" ;
      print "\${'x'} = '", ${'x'}, "'\n" ;
    
  2. or download this
      ${x}   = '57'
      Can't use string ("x") as a SCALAR ref while "strict refs" in use ..
    +.
    
  3. or download this
      ${x}   = '57'
      Use of uninitialized value in print ...
      ${'x'} = ''
    
  4. or download this
      ${x}   = '57'
      ${'x'} = '57'