On the other hand, some tasks that are absurdly easy to accomplish in PHP are a relative (though very minor) pain in the arse in Perl. For example, try comparing the process of getting the contents of a text file into a variable in Perl vs. PHP. Hint: In PHP, you only need one function in a short line of code.
$foo = require("bar.txt");
- apotheon
CopyWrite Chad Perrin
In reply to Re^3: Another prediction of Perl's demise
by apotheon
in thread Another prediction of Perl's demise
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |