http://www.perlmonks.org?node_id=1043571


in reply to Nothing is being written into my opt-in.txt file

Your code doesn't compile:

$ perl -cw /tmp/nuts2.pl Bareword "n" not allowed while "strict subs" in use at /tmp/nuts2.pl l +ine 9. /tmp/nuts2.pl had compilation errors.

Haven't we been through this before? Why did you not try to compile the script yourself? Why did you not try looking in the error log?