Help for this page

Select Code to Download


  1. or download this
      DB<174> use Scalar::Util qw(readonly)
      
    ...
    rw
       DB<179> print readonly(undef) ? "r" : "rw"
    r
    
  2. or download this
      DB<181> sub tst { $_[0] = 42 }
    
    ...
    
      DB<183> tst undef
     => 42                   # really?