The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

Version 0.01

SYNOPSIS

        package Memory::Test;

        use Moo;
        use MooX::Pack;

        all seperator => (
                character => 'x',
                pack => '|',
                index => [ 1, 3 ],
        );

                
        line one => (
                key => 'data',
                character => 'A10',
                catch => 1,
        );

        line one => (
                name => 'description',
                character => 'A27',
                catch => 1,
        );

        line one => (
                name => 'income',
                character => 'A7',
                catch => 1,
        );

        line two => (
                name => 'first name',
                character => 'A20',
                catch => 1,
                index => 4,
        );

        line two => (
                key => 'last name',
                character => 'A20',
                catch => 1,
                index => 0,
        );

        line two => (
                name => 'age',
                character => 'A3',
                catch => 1,
                index => 2,
        );

...

        my $memory = Memory::Test->new();

        $memory->raw_data(
q|
Public    |Property                   |None   
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)