README
NAME
Raku port of Perl's built-ins
SYNOPSIS
use P5built-ins; # import all P5 built-in functions supported
use P5built-ins <gmtime>; # only import specific ones
say gmtime now; # (38 17 12 22 7 126 6 233 0 0 UTC)DESCRIPTION
This module provides an easy way to import a growing number of built-in functions of Perl in Raku Currently supported at:
abs caller chdir chomp chop chr closedir cos crypt defined each endgrent
endnetent endprotoent endpwent endservent exp fileno getgrent getgrgid
getgrnam getlogin getnetbyaddr getnetbyname getnetent getpgrp getppid
getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam
getpwuid getservbyname getservbyport getservent gmtime hex index lcfirst
length localtime log oct opendir ord pack print printf quotemeta rand
readdir readlink ref reset reverse rewinddir rindex say seek seekdir
setgrent setnetent setpriority setprotoent setpwent setservent sin sleep
sqrt substr telldir times ucfirst undef unpackThe following file test operators are also available:
-r -w -x -e -f -d -s -z -lAnd the following terms:
__FILE__ __LINE__ __PACKAGE__ __SUB__ SEEK_CUR SEEK_END SEEK_SET
STDERR STDIN STDOUTPORTING CAVEATS
Please look at the porting caveats of the underlying modules that actually provide the functionality:
AUTHOR
Elizabeth Mattijsen [email protected]
Source can be located at: https://github.com/lizmat/P5built-ins . Comments and Pull Requests are welcome.
If you like this module, or what I'm doing more generally, committing to a small sponsorship would mean a great deal to me!
COPYRIGHT AND LICENSE
Copyright 2018, 2019, 2020, 2021, 2025, 2026 Elizabeth Mattijsen
Re-imagined from Perl 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.