On Wed, 2002-08-14 at 15:43, Nikola Janceski wrote: > Okay I understand the dynamic subroutine declarations. > but perhaps a warning should be made for -w or 'use warnings'? > > It's just to find misspelled functions. I use 'use strict' for finding > misspelled vars. > Is there nothing for finding misspelled functions, aside from running it and > hoping for the best? > > Nikola Janceski > > What counts is not necessarily the size of the dog in the fight - it's the > size of the fight in the dog. > -- Dwight D. Eisenhower > > > ---------------------------------------------------------------------------- > -------------------- > The views and opinions expressed in this email message are the sender's > own, and do not necessarily represent the views and opinions of Summit > Systems Inc.
This is what Symbol::Approx::Sub is for <grin />. <snip href="http://search.cpan.org/author/DAVECROSS/Symbol-Approx-Sub-2.00/Sub.pm"> DESCRIPTION This is _really_ stupid. This module allows you to call subroutines by _approximate_ names. Why you would ever want to do this is a complete mystery to me. It was written as an experiment to see how well I understood typeglobs and AUTOLOADing. To use it, simply include the line: use Symbol::Approx::Sub; somewhere in your program. Then each time you call a subroutine that doesn't exist in the the current package Perl will search for a subroutine with approximately the same name. The meaning of 'approximately the same' is configurable. The default is to find subroutines with the same Soundex value (as defined by Text::Soundex) as the missing subroutine. There are two other built-in matching styles using Text::MetaPhone and String::Approx. </snip> -- Today is Boomtime the 8th day of Bureaucracy in the YOLD 3168 Umlaut Zebra über alles! Missile Address: 33:48:3.521N 84:23:34.786W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]