Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
        printf "Loc: %d, Size: %d, Name: '%s'\n", $fileLoc, $fileSize, $fi
    +leName;
    }
    
  2. or download this
    Using unpack
    Loc: 1, Size: 2, Name: 'The end of the world is neigh   '
    ...
    Using bogus substitution code
    Loc: -1, Size: -1, Name: 'The end of the world is neigh   '
    Loc: -1, Size: -1, Name: 'unless you use pack and unpack  '