SPVM::Builder::ObjectFileInfo - Object File Information
The SPVM::Builder::ObjectFileInfo class has methods to manipulate information of an object file.
my $file = $object_file_info->file; $object_file_info->file($file);
Gets and sets the file field.
file
This field is the file name of an object file.
my $compile_info = $object_file_info->compile_info; $object_file_info->compile_info($compile_info);
Gets and sets the compile_info field.
compile_info
This field is a SPVM::Builder::CompileInfo object.
my $object_file_info = SPVM::Builder::ObjectFileInfo->new(%fields);
Default Field Values:
If a field is not defined, the field is set to the following default value.
"file"
undef
"compile_info"
my $object_file_info = $object_file_info->to_string;
Returns the "file" field.
Overloads the following operators.
my $bool = !!$object_file_info;
Always true.
my $object_file_info_name = "$object_file_info";
Alias for the "to_string" method.
Copyright (c) 2023 Yuki Kimoto
MIT License
To install SPVM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM
CPAN shell
perl -MCPAN -e shell install SPVM
For more information on module installation, please visit the detailed CPAN module installation guide.