Skip Menu |

This queue is for tickets about the Authen-TypeKey-Sign CPAN distribution.

Report information
The Basics
Id: 11199
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Authen-TypeKey-Sign

People
Owner: tima [...] cpan.org
Requestors: bricas [...] cpan.org
Cc:
AdminCc:

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



Subject: Can't set hide_email to false
Hi Tim, Your stash() sub is broken. You can't set any item as "0" because you're checking for true/false rather than defined()-ness. sub stash { $_[0]->{$_[1]} = $_[2] if $_[2]; $_[0]->{$_[1]}; } should be: sub stash { $_[0]->{$_[1]} = $_[2] if defined $_[2]; $_[0]->{$_[1]}; } this will allow the user to do: $tk->hide_email( 0 ); Cheers, -Brian
drat. you're right. i'll get that fixed. <tim/>