icon Top 9 categories map      RocketAware > Perl >

Use of "$$<digit>" to mean "${$}<digit>" is deprecated

Tips: Browse or Search all pages for efficient awareness of Perl functions, operators, and FAQs.



Home

Search Perl pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    
Use of "$$" to mean "${$}" is deprecated
(D) Perl versions before 5.004 misinterpreted any type marker followed by ``$'' and a digit. For example, ``$$0'' was incorrectly taken to mean ``${$}0'' instead of ``${$0}''. This bug is (mostly) fixed in Perl 5.004.

However, the developers of Perl 5.004 could not fix this bug completely, because at least two widely-used modules depend on the old meaning of ``$$0'' in a string. So Perl 5.004 still interprets ``$$<digit>'' in the old (broken) way inside strings; but it generates this message as a warning. And in Perl 5.005, this special treatment will cease.

Source: what's new for perl5.004
what's new for perl5.004
Copyright: Larry Wall, et al.
Next: Value of %s can be "0"; test with defined()
Next: prototype(FUNCTION)

Previous: Unsupported function fork
Previous: sysseek()



(Corrections, notes, and links courtesy of RocketAware.com)


[Overview Topics]

Up to: PERL
Up to: PERL




Rapid-Links: Search | About | Comments | Submit Path: RocketAware > Perl > perldelta/Use.htm
RocketAware.com is a service of Mib Software
Copyright 2000, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments