NAME

Getopt::Lazier - Lazy Getopt-like command-line options and argument parser

VERSION

Version 0.04

SYNOPSIS

my ($opt, @DARG) = Getopt::Lazier->new(@ARGV);

EXAMPLE USAGE

use Getopt::Lazier;

my ($opt, @DARG) = Getopt::Lazier->new(@ARGV);

use Data::Dumper; print Dumper([$opt, \@DARG])."\n";

# perl lazyscript.pl -help a b c d --meow=5345923 -awoo="doggo vibes" -- --this-aint-no-option

$VAR1 = [
   {
      'awoo' => 'doggo vibes',
      'meow' => '5345923',
      'help' => 1
   },
   [
      'a',
      'b',
      'c',
      'd',
      '--this-aint-no-option'
   ]
];

SUBROUTINES/METHODS

new

The laziest way to parse arguments tho

AUTHOR

Jojess Fournier, <jojessf@cpan.org>, Dave Maez

BUGS

Please report any bugs or feature requests to bug-getopt-lazier at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Getopt-Lazier. 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 Getopt::Lazier

You can also look for information at:

https://github.com/jojessf/GetOptLazier

ACKNOWLEDGEMENTS

Thanks to Dave for the ENV addition. Also for being awesome. :3

LICENSE AND COPYRIGHT

This software is Copyright (c) 2024 by Jojess Fournier.

This is free software, licensed under:

GNU GENERAL PUBLIC LICENSE 3.0