Re: FAQ 4.67 Why does passing a subroutine an undefined element in a hash create it?



In article <1122489468.920709.91510@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Paul Lalli <mritty@xxxxxxxxx> wrote:
>
> PerlFAQ Server wrote:
> >
> > This has been fixed as of Perl5.004.
>
> Er, if this was fixed a good 5 versions ago, is this FAQ
> really still relevant? Are there really that many people
> still using anything less than 5.004? (And if there are,
> and they have a problem about things not working,
> shouldn't the answer be "Upgrade your Perl"?)

Upgrading their Perl version may not be an option. It
certainly wouldn't be a practical option for me. Thankfully,
the RISC OS port by Nicholas Clark, is up to 5.005_03 but
there are plenty of newer Perl features that I'm stuck not
being able to use. Being unsympathetically told to upgrade
wouldn't be helpful.

I think this FAQ entry should stand as it helps anyone stuck
with an earlier version to discover the potential problem,
helps us all be more mindful of autovivification traps, and
gives people who *can* upgrade a good reason to do so.

--
James Taylor, London, UK PGP key: 3FBE1BF9
To protect against spam, the address in the "From:" header is not valid.
In any case, you should reply to the group so that everyone can benefit.
If you must send me a private email, use james at oakseed demon co uk.

.



Relevant Pages

  • Re: Can gcc 4.0 be used to build DBI modules if perl is bulit with gcc 3.3?
    ... We have loaded Tiger onto several machines here. ... My production machine still uses 10.39 and I am afraid to upgrade ... because of the problems we are seeing trying to install the DBI and DBD ... had DBI and DBD installed in perl on the 10.39 MacOSX. ...
    (perl.dbi.users)
  • Undefined symbol: PL_perl_destruct_level after upgrading....
    ... "test upgrade" and all that):P ... Basically, I recently upgraded apache, mysql & php using http:// ... it seems that _somehow_ Perl 5.8.0 was ... installed on the Woody server I admin. ...
    (Debian-User)
  • Re: perl-after-upgrade
    ... >>I don't know squat about perl. ... It didn't look to me like an sh script, ... As I stated above, I used portupgrade. ... the end of the perl upgrade scrolled off the screen and out of the ...
    (freebsd-questions)
  • RE: Perl Oracle incompatibility
    ... Moreover i have not done any changes except to upgrade my Oracle ... database and nothing else. ... Subject: Perl Oracle incompatibility ...
    (perl.dbi.users)
  • upgrading perl, but with a backout plan
    ... I have to upgrade from perl 5.8.5, where perl is a critical application ... on a fairly critical machine. ... entry cause at least one application to fail. ...
    (comp.unix.bsd.freebsd.misc)