Help language development. Donate to The Perl Foundation
P5chop - Implement Perl 5's chop() built-in [DEPRECATED]
use P5chop; # exports chop() chop $a; chop @a; chop %h; chop($a,$b); chop(); # bare chop may be compilation error to prevent P5isms in Perl 6
This module tries to mimic the behaviour of the
chop of Perl 5 as closely as possible. It has been deprecated in favour of the
P5chomp module, which exports both
chomp. Please use that module instead of this one.
Elizabeth Mattijsen [email protected]
Source can be located at: https://github.com/lizmat/P5chop . Comments and Pull Requests are welcome.
Copyright 2018 Elizabeth Mattijsen
Re-imagined from Perl 5 as part of the CPAN Butterfly Plan.
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.