As I toyed with the notion of creating a JavaScript to Perl converter; I stumbled across a table. While seasoned veterans of both languages may not have a need for it. I thought it still might be a nice reference, for quick-n-easy comparison of both languages. To others needing this sort of information.
You can find it here: Equivalents in JavaScript and Perl
Best wishes.
--Chris
EDIT: corrected typo to the external link -- thanks zentara. :)#!/usr/bin/perl -Tw use Perl::Always or die; my $perl_version = (5.12.5); print $perl_version;
In reply to A comparison of Perl vs. JavaScript -- a reference table. by taint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |