Help for this page

Select Code to Download


  1. or download this
    use IO::Seekable;
    
    ...
    seek OUTPUT, 0, 0;    # seek to the beginning of the file?
    print OUTPUT "\037\213";    # append gzip magic (0x1F 0x8B)
    close OUTPUT;