in reply to Print command not working in script

Maybe you forgot to call the subroutine cksum. After I added that (and "use warnings;" at the start of the file) I got lots of output, warnings and expected prints

Check out the unpack() function to get numbers out of the strings you read

  • Comment on Re: Print command not working in script