NAME

Sys::Export::ISO9660::File - Represents a file in ISO9660, including packed encodings of directories

CONSTRUCTORS

new

$file= Sys::Export::ISO9660::File->new(%attributes);

Represents file (or directory) data to be encoded into the ISO image.

ATTRIBUTES

name

Unicode full path to file, for debugging.

block_size

Always 2048.

size

Size, in bytes. See "size" in Sys::Export::Extent.

device_offset

Byte offset from start of image. See "device_offset" in Sys::Export::Extent.

block_address

LBA number (device_offset / 2048) where this file is located on the device. Reading this attribute returns undef if device_offset is undefined or negative.

data

Data to be written to extent. See "data" in Sys::Export::Extent.

mtime

Unix epoch time of file creation/modification, used as default for directory entries. (every directory entry can override the mtime)

flags

Bit flags of file. Constants come from use Sys::Export::ISO9660 ':flags'.

is_dir

True if the flags include FLAG_DIRECTORY

VERSION

version 0.005

AUTHOR

Michael Conrad <mike@nrdvana.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Michael Conrad.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.