Help for this page

Select Code to Download


  1. or download this
       Although Perl will automatically grow strings for you, if you need 
    +to
       force Perl to allocate more memory for your SV, you can use the mac
    +ro
    
           SvGROW(SV*, STRLEN newlen)
    
  2. or download this
      Offsets
        Perl provides the function "sv_chop" to efficiently remove charact
    +ers
    ...
        the number of bytes chopped off into the IV field of the SV. It th
    +en
        moves the PV pointer (called "SvPVX") forward that many bytes, and
        adjusts "SvCUR" and "SvLEN".