Help for this page

Select Code to Download


  1. or download this
    perl -e '$a = \"constant"; bless($a, "Test");'
    Modification of a read-only value attempted at -e line 1.
    
  2. or download this
    perl -MBit::Vector -e '$a = new Bit::Vector(8); ${$a} = 2;'
    Modification of a read-only value attempted at -e line 1.
    
  3. or download this
    reference = sv_bless(sv_2mortal(newRV(handle)),  BitVector_Stash);
    
  4. or download this
    reference = sv_bless(sv_2mortal(newRV(handle)), gv_stashpv(SvPV_nolen(
    +class), 1));