Skip to content

brunoV/autobox-Utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME
    autobox::Utils - Additional autoboxed methods for native Perl data types

VERSION
    version 0.100650

SYNOPSIS
        use autobox::Utils;

        my @family = qw(Homer Marge Bart Lisa Maggie);

        my ($chief, @rest) = (@family->head, @family->tail);

        # $chief: 'Homer'
        # @rest: ['Marge', 'Bart', 'Lisa', 'Maggie'];

        my $salary = "too low";
        if ( $salary->is_number and $salary > 40_000 ) { say "yay!" }

        my $book_title = " how to be a klutz and still get published      ";

        say $book_title->trim->title_case;
        # "How To Be A Klutz And Still Get Published"

        ... and more.

DESCRIPTION
    autobox::Utils provides useful methods to native Perl data types. Its
    goal is to complement autobox::Core and autobox::List::Util with methods
    that are frequently desired but can't be found there.

AUTHORS
      Bruno Vecchi
      Michael Schwern

COPYRIGHT AND LICENSE
    This software is copyright (c) 2010 by Bruno Vecchi.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

About

Additional autoboxed methods for native Perl data types

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages