M
Matthew
Hello, I am wanting to create a snippet of Perl code that I can put at
the top of all my Perl scripts, so when someone externally tries to
execute it directly it will run, stop, and then display a red screen
without executing the rest of the code, however if a certain variable
is passed -- lets say for the purposes of this example something from
'$pass', then it will skip over this part and execute the complete
file. Can someone help me write something like this -- it would be
very much appreciated!
Cheers!
Matt
the top of all my Perl scripts, so when someone externally tries to
execute it directly it will run, stop, and then display a red screen
without executing the rest of the code, however if a certain variable
is passed -- lets say for the purposes of this example something from
'$pass', then it will skip over this part and execute the complete
file. Can someone help me write something like this -- it would be
very much appreciated!
Cheers!
Matt