Since we all seem to be agreed that macros that Do Strange Things are evil, but are a necessary evil in certain extensibility situations, and since Larry choked on my choice of naming scheme for macros which declare variables for you, here's a slighly more modest proposal: =item * A macro that may declare stuff and thus needs to be at the start of a block should be prefixed with C<DECL_>, eg C<DECL_SAVE_STACK> So dSP would now be DECL_SP. And we dont specially mark macros which may use impicitly declared variables ???
- Re: PDD: Conventions and Guidelines for Perl Source Code Dave Mitchell
- Re: PDD: Conventions and Guidelines for Perl Source Code Larry Wall
- Re: PDD: Conventions and Guidelines for Perl Source Code Dan Sugalski
- Re: PDD: Conventions and Guidelines for Perl Source Code Dan Sugalski
- Re: PDD: Conventions and Guidelines for Perl Source Code Jarkko Hietaniemi
- Re: PDD: Conventions and Guidelines for Perl Source Code Benjamin Sugars
- Re: PDD: Conventions and Guidelines for Perl Source Code Alan Burlison
- Re: PDD: Conventions and Guidelines for Perl Source Code Alan Burlison
- Re: PDD: Conventions and Guidelines for Perl Source Code Nick Ing-Simmons
- Re: PDD: Conventions and Guidelines for Perl Source Code Dave Mitchell
- Re: PDD: Conventions and Guidelines for Perl Source Code Dave Storrs
- Re: PDD: Conventions and Guidelines for Perl Source Code Dan Sugalski