Unix Programming - Re: open file limits/ perl

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > January 2007 > Re: open file limits/ perl





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: open file limits/ perl
Jens Thoms Toerring

2007-01-26, 1:18 pm

Rainer Weikusat <rainer.weikusat@sncag.com> wrote:
> jt@toerring.de (Jens Thoms Toerring) writes:
[vbcol=seagreen]
> I am not supposed to put an ampersand in front of the constant,
> because this is no longer needed for subroutines calls in PERL since
> PERL 5. But using the & triggers the responsible AUTOLOAD, while the
> name is otherwise just treated as a bareword. This is apparently an
> undocimented implementation quirk of the POSIX-module.


Not completely undocumented: (nearly) all the examples in the
perldoc show the use of the ampersand when constants are used
unless directly preceeded by an import of the constant (func-
tion) or used without the package qualifier, so the import is
obvious. But definitely not documented well enough. But in any
case another argument for always using 'use strict';-)

Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com