in reply to Personally defined pragmas
If I understand correctly Crabbdean you want to add a state to your module, just one extra hash key that acts as a flag.
You might turn this on and off in an instance with
The push would be internally short circuited to a nop where the verbose flag is not on. Or am I missing your point?$thisthing->verboseon; some more code needing verbosity $thisthing->verboseoff;
|
---|
In Section
Seekers of Perl Wisdom