NAME

Simple::Filter::SanitiseCompiled - Perl extension for sanitising a compiled file.

SYNOPSIS

use Simple::Filter::SanitiseCompiled;

# Set filename.
my $filename = "compiled_script.plc";

# Sanitise compiled file.
SanitiseCompiled($filename);

DESCRIPTION

The module is santising a compiled file. Empty lines as well as comment lines are removed. The block enclosed in #line 1 to #line 1 is also removed.

METHOD

SanitiseCompiled()

EXPORT

SanitiseCompiled()

METHOD RETURN

Returns a sanitised compiled file of same name as input file.

ERROR CODE

1 => Error reading or writing a file. 

BUGS

Not known yet.

SEE ALSO

Simple::Filter::Macro

Simple::Filter::MacroLight

Filter::Macro

Filter::Simple::Compile

File::Basename

AUTHOR

Dr. Peter Netz, <ztenretep@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2022 by Dr. Peter Netz

This library is free software; you can redistribute it and/or modify it under the same terms of The MIT License. For more details, see the full text of the license in the attached file LICENSE in the main package folder. This library is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.