Subject: | problem with __DATA__ |
'__DATA__' is not accessible when running encrypted file.
Test program (b.pl):
while(<DATA>) {
print;
}
__DATA__
This is LINE1
This is LINE2
This is LINE3
Encryption:
crypt_file -o bcrypt.pl <b.pl
Decryption:
crypt_file -o bdecr.pl <bcrypt.pl
b.pl and bdecr.pl are same files, but bcrypt.pl when run prints nothing.
P.S. Derived this from question here:
http://stackoverflow.com/questions/2212060/what-does-the-filtercrypto-module-do-to-the-data-section
--
Alexandr Ciornii, http://chorny.net