perl - RicoJia/notes GitHub Wiki
-
Why perl:
- text manipulation.
- High level script language, can be embedded in web servers.
-
online Perl IDE, or just
perl something.pl
- ls | perl -e 'while(<>){print("$_ lol\n");}'
-
one-liner
# while(<>) will automatically pop all args, and the variable is stored in $_ ls | perl -e 'while(<>){print("$_ lol\n");}'