On Dec 12, 2007 7:30 AM, jeff pang <[EMAIL PROTECTED]> wrote:
snip
> I'd like. But I learned perl from 2002 year, I even don't know what's
> perl 4.
snip

Some features you would have to stop using:
* lexical variables (i.e. my)
* multidimensional arrays and nested hashes
* real (vs symbolic) references in general
* OO
* the POSIX module
* XS based modules
* BEGIN and END blocks
* AUTOLOAD
* the use of ? in regexes to mean non-greediness
* non-capturing parenthesis in regexes
* zero-width look-ahead assertions
* the x, m, and s options for regexes
* \A, \G, \Q, and \Z escapes in regexes
* the => operator
* abs(), chr(), uc(), ucfirst(), lc(), and lcfirst()
* the qw// operator
* a bunch of things I have forgotten
* and everything that was added from Perl 5.003 onwards (see perldoc
perl5004delta, perldoc perl5005delta, etc).

No sane person would willing use Perl 4 over Perl 5.  We are rapidly
reaching the point were it is insane to use Perl 5.005 (if we aren't
there yet).  The only reason to use any version earlier than 5.6.3 is
that your sysadmins won't upgrade an ancient box (and even then it is
time to quit that job because if they are that stupid then there are
probably other issues as well).

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to