Last active
September 12, 2023 11:11
-
-
Save rwp0/0ec47bfb3bc92facda5bc7fc27b6e948 to your computer and use it in GitHub Desktop.
Perl to Unix Table: Cultural influence of Unix on Perl symbol names
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Perl Function / Method | Namespace (eg. Package) | Command / Syscall / C Function | |
---|---|---|---|
compare | File::Compare | cmp(1) | |
catdir | File::Spec | cat(1) | |
catfile | File::Spec | cat(1) | |
basename | File::Basename | basename(1) | |
dirname | File::Basename | dirname(1) | |
grep | CORE | grep(1) | |
find | File::Find | find(1) | |
s/// | CORE | sed(1) | |
tr// | CORE | tr(1) | |
open | CORE | open(2) | |
close | CORE | close(2) | |
hostname | Sys::Hostname | hostname(1) | |
sort | CORE | sort(1) | |
uniq | List::Util | uniq(1) | |
md5 | Digest::MD5 | md5sum(1) | |
sha512 | Digest::SHA | sha512sum(1) | |
mkdir | CORE | mkdir(2) | |
stat | CORE | stat(2) | |
unlink | CORE | unlink(2) | |
symlink | CORE | symlink(2) | |
rename | CORE | rename(2) | |
chdir | CORE | chdir(2) | |
readlink | CORE | readlink(2) | |
readline | CORE | readline(3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist is published (embedded) on Medium:
https://rwp0.medium.com/perl-to-unix-mappings-87f1ae65405f
Sample references
Reddit thread