in reply to simple hexdump

++moxliukas

Very nice. However, was it your intention for it to print out "Usage: hexdump.pl file at /filepath/hexdump.pl line 13." when the user does not give a filename? If not then, I'd use this instead:
$#ARGV == 0 or die "Usage: hexdump.pl file\n";
That changes the output to simply "Usage: hexdump.pl file".


Who says that programmers can't work in the Marketing Department?
Or is that who says that Marketing people can't program?