Help for this page

Select Code to Download


  1. or download this
    unpack TEMPLATE,EXPR
    unpack does the reverse of pack: it takes a string and expands it out 
    +into a list of values. (In scalar context, it returns merely the firs
    +t value produced.)
    
  2. or download this
    sub ordinal { unpack("c",$_[0]); } # same as ord()