Fauxtobox
view release on metacpan or search on metacpan
lib/Fauxtobox.pm view on Meta::CPAN
)),
_scalar('abs'),
_scalar('alarm'),
_fixed(2, 'atan2'),
bless => defined &CORE::bless ? \&CORE::bless : sub { bless $_[0], @_ > 1 ? $_[1] : scalar caller },
_scalar('chdir'),
_xlist(1, 'chmod'),
_xlist(0, 'chomp'),
_xlist(0, 'chop'),
_xlist(2, 'chown'),
_scalar('chr'),
_scalar('chroot'),
_scalar('cos'),
_fixed(2, 'crypt'),
defined => sub { defined $_[0] },
delete => sub {
ref($_[0]) eq 'ARRAY' ?
delete $_[0][$_[1]] :
delete $_[0]{$_[1]}
},
lib/Fauxtobox.pm view on Meta::CPAN
See L<perlfunc/chomp>.
=item $_chop
C<< $X->$_chop >> is equivalent to C<< chop @{$X} >> if C<$X> is an array
reference and C<< chop $X >> otherwise.
See L<perlfunc/chop>.
=item $_chown
C<< $X->$_chown($UID, $GID) >> is equivalent to
C<< chown $UID, $GID, @{$X} >> if C<$X> is an array reference and
C<< chown $UID, $GID, $X >> otherwise.
See L<perlfunc/chown>.
=item $_chr
C<< $X->$_chr >> is equivalent to C<< chr $X >>.
See L<perlfunc/chr>.
=item $_chroot
C<< $X->$_chroot >> is equivalent to C<< chroot $X >>.
( run in 2.085 seconds using v1.01-cache-2.11-cpan-71847e10f99 )