==== Oneliner ====
=== "Füllstand" von Filesystemen extrahieren ===
df -k | perl -ne '/(\d{1,3})%/; print "$1\n"'
=== Vorkommen z�hlen ===
perl -0pe'$_=()=/\.at/g' filename
=== Ersetzen in Files ===
perl -pi.bak -e 's/-lapreq//' Request/Makefile.PL Cookie/Makefile.PL
for i in `find . -name "*.p?"`; do perl -i -pe 's/::Blu::/::Bla::/g' $i ; done
=== Alle Tasks "notepad" killen ===
tasklist | perl -ne "if (/notepad/i) {@a=split(' ', $_); system('taskkill /PID '.$a[1])}"
==== Packages ====
* Getopts
* Storable
* Date::Calc, Date::Manip
* ...
==== Debugger ====
* perl -d script.pl
==== neue Module /Objekt orientiertes Perl ====
Neues Projekt
Mit
h2xs -XAn Test
anlegen