Skip to content

Instantly share code, notes, and snippets.

@rwp0
Last active September 12, 2023 11:11
Show Gist options
  • Save rwp0/0ec47bfb3bc92facda5bc7fc27b6e948 to your computer and use it in GitHub Desktop.
Save rwp0/0ec47bfb3bc92facda5bc7fc27b6e948 to your computer and use it in GitHub Desktop.
Perl to Unix Table: Cultural influence of Unix on Perl symbol names
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)
@rwp0
Copy link
Author

rwp0 commented Aug 31, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment