List-Gen
view release on metacpan or search on metacpan
lib/List/Gen/Lazy/Builtins.pm view on Meta::CPAN
unless (keys %{$cfg{styles}}) {
$add->("return $name(\@_)")
}
no warnings;
eval "fn @pre @post" or die $@;
}
my @builtin = qw(
abs accept alarm atan2 bind binmode bless caller chdir chmod chomp
chop chown chr chroot close closedir connect cos crypt dbmclose dbmopen
default defined die do endgrent endhostent endnetent endprotoent
endpwent endservent eof eval exec exit exp fcntl fileno flock fork
formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname
gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername
getpgrp getppid getpriority getprotobyname getprotobynumber getprotoent
getpwent getpwnam getpwuid getservbyname getservbyport getservent
getsockname getsockopt glob gmtime goto hex index int ioctl join
kill lc lcfirst length link listen localtime lock log lstat mkdir
msgctl msgget msgrcv msgsnd oct open opendir ord pack pipe pop pos
print printf prototype push quotemeta rand read readdir readline
lib/List/Gen/Lazy/Builtins.pm view on Meta::CPAN
my $int = &int(my $float);
note that as always, when a user function is called with C< & >, prototypes are
disabled, this means that you must call functions like C< &shift > as:
my $x = &shift(\@array); # must use parens and manually take the reference
the implemented functions are:
abs accept alarm atan2 bind binmode bless caller chdir chmod chomp chop
chown chr chroot close closedir connect cos crypt dbmclose dbmopen default
defined die do endgrent endhostent endnetent endprotoent endpwent
endservent eof eval exec exit exp fcntl fileno flock fork formline getc
getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin
getnetbyaddr getnetbyname getnetent getpeername getpgrp getppid getpriority
getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid
getservbyname getservbyport getservent getsockname getsockopt glob gmtime
goto hex index int ioctl join keys kill lc lcfirst length link listen
localtime lock log lstat mkdir msgctl msgget msgrcv msgsnd oct open opendir
ord pack pipe pop pos print printf prototype push quotemeta rand read
readdir readline readlink readpipe recv ref rename require reset reverse
( run in 1.202 second using v1.01-cache-2.11-cpan-71847e10f99 )