in reply to Is it possible to modify __DATA__ via the DATA file handle or otherwise?

"...otherwise?"

If I were in your shoes i would use another file for this task. Please see JSON::Tiny and Path::Tiny for a convenient way how to accomplish this.

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

  • Comment on Re: Is it possible to modify __DATA__ via the DATA file handle or otherwise?
  • Download Code