Convert-BinHex
view release on metacpan or search on metacpan
lib/Convert/BinHex.pm view on Meta::CPAN
=cut
#------------------------------
=item creator [VALUE]
I<Instance method.>
Get/set the creator of the file. This is a four-character
string (though I don't know if it's guaranteed to be printable ASCII!)
that serves as part of the Macintosh's version of a MIME "content-type".
For example, a document created by "Canvas" might have
creator C<"CNVS">.
=cut
sub creator { (@_ > 1) ? ($_[0]->{Creator} = $_[1]) : $_[0]->{Creator} }
#------------------------------
lib/Convert/BinHex.pm view on Meta::CPAN
@_ ? $self->{Rsrc} = Convert::BinHex::Fork->new(@_) : $self->{Rsrc};
}
#------------------------------
=item type [VALUE]
I<Instance method.>
Get/set the type of the file. This is a four-character
string (though I don't know if it's guaranteed to be printable ASCII!)
that serves as part of the Macintosh's version of a MIME "content-type".
For example, a GIF89a file might have type C<"GF89">.
=cut
sub type { (@_ > 1) ? ($_[0]->{Type} = $_[1]) : $_[0]->{Type} }
#------------------------------
=item version [VALUE]
( run in 1.363 second using v1.01-cache-2.11-cpan-524268b4103 )