Skip Menu |

This queue is for tickets about the AppConfig CPAN distribution.

Report information
The Basics
Id: 76456
Status: open
Priority: 0/
Queue: AppConfig

People
Owner: Nobody in particular
Requestors: rlauer6 [...] comcast.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.66
Fixed in: (no value)



Subject: ACTION callbacks
sub my_notify { my $state = shift; my $var = shift; my $val = shift; Show quoted text
>> print "$variable set to $value";
} I think this should read: print "$var set to $val"; Also, why on the initial set when the callback is called is the value "1" instead of the actual value of the variable?
On Mon Apr 09 19:45:34 2012, rlauer6@comcast.net wrote: Show quoted text
> sub my_notify { > my $state = shift; > my $var = shift; > my $val = shift;
> >> print "$variable set to $value";
> } > > I think this should read: > > print "$var set to $val"; > > Also, why on the initial set when the callback is called is the value > "1" instead of the actual value of the variable?
This PR updates the POD. https://github.com/neilb/AppConfig/pull/8 The second issue you have regarding "set" should be addressed in a second RT as a feature request since it looks like a (reasonable) change in behavior.