The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

MooX::Pack - The great new MooX::Pack!

VERSION

Version 0.03

SYNOPSIS

package Memory::Test;
use Moo;
seperator (
character => 'x',
pack => '|',
);
line heading => (
key => 'data',
character => 'A10',
catch => 1,
);
line heading => (
name => 'description',
character => 'A27',
catch => 1,
);
line heading => (
name => 'income',
character => 'A7',
catch => 1,
);
line rest => (
name => 'first name',
character => 'A20',
catch => 1,
index => 4,
);
line rest => (
key => 'last name',
character => 'A20',
catch => 1,
index => 0,
);
line rest => (
name => 'age',
character => 'A3',
catch => 1,
index => 2,
);

...

my $memory = Memory::Test->new();
$memory->raw_data(
q{
Public |Property |NA
Robert |Acock |32
}
);
$memory->unpack;
$memory->data;

AUTHOR

lnation, <email at lnation.org>

BUGS

Please report any bugs or feature requests to bug-number-iterator at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooX-Pack. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc MooX::Pack

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2024 by lnation.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)