Skip to main content

Module data_section

Module data_section 

Source
Expand description

Split __DATA__ from program source (line must equal __DATA__ after trim).

Functionsยง

split_data_section
Returns (program_text_before_marker, Some(data bytes after marker)) or (full, None).
strip_perl_end_marker
Truncate at the first line equal to __END__ or __DATA__ (after str::trim). Perl stops compiling there; required .pm files often put pod after __END__.