For-Else
use For::Else;
foreach my $item ( @items )
{
dosomething_with_item();
}
else
{
die "@items was empty";
}
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the perldoc command.
perldoc For::Else
You can also look for information at:
Search CPAN
http://search.cpan.org/dist/For-Else
CPAN Request Tracker:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=For-Else
AnnoCPAN, annotated CPAN documentation:
http://annocpan.org/dist/For-Else
CPAN Ratings:
http://cpanratings.perl.org/d/For-Else
COPYRIGHT AND LICENCE
Copyright (C) 2006 Alfie John
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.