A couple of people have mentioned that it would be a good idea to 'add another tool to the tool box' (or whatever semi-random metaphor they feel like using), but my question is, how does adding php help you? I mean, what you can you do in php you cant do in perl, aside from some syntactical differences as noted above, function != sub etc, how does learning php help above perl? _I_ only see two real advantages of php, one is that it allows you to easily embed your script within html without having to print print print all the time, and the other is that its a small, lightyweight and easy to learn language, so its not that hard for newbies to pick up. For the first point, ill just mention templates and perlscript and leave it at that, for the second point, well, not much you can do, with power comes some complexity. Thoughts? Im not particurally trying to start a holy war or what not, I just tend to look at php as a web only subset of perl.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.