SPVM::IO::File is available in the experimental status.
use IO::File;
my $io_file = IO::File->new("file", "r");
$io_file->print("Hello");
This module is a IO::File porting to SPVM.
SPVM is approaching the goal of Data Science on IoT. SPVM can access files and create an executable file using spvmcc for IoT devices.