смерть от опечатки

    Date: 06/18/07 (Code WTF)    Keywords: no keywords

    Вот код, который может довести до истерики (perl).

    $t = "asdasdasdasdas+";
    if ($t = ~/^(.*)\+$/) {
    	print "$1\n";
    }
    


    Далеко не сразу очевидно, где зарыты грабли.

    Source: http://community.livejournal.com/code_wtf/89589.html

« ООП || Hypertext Transfer Protocol... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home