X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FPod.pm;h=280f099e97c2a3b6a05e8d2cddd009acbf940dbb;hp=df8e2ad8003767f39256ba3261b0ef326c01edee;hb=cd504127198fc48b6b927cd98f460cf3d62c9e98;hpb=104d25a7f5300f2996ccd95a9d1f4b75d92f98ce;ds=sidebyside diff --git a/lib/ZOOM/Pod.pm b/lib/ZOOM/Pod.pm index df8e2ad..280f099 100644 --- a/lib/ZOOM/Pod.pm +++ b/lib/ZOOM/Pod.pm @@ -1,4 +1,4 @@ -# $Id: Pod.pm,v 1.19 2006-09-26 08:52:21 mike Exp $ +# $Id: Pod.pm,v 1.20 2006-09-27 12:40:44 mike Exp $ package ZOOM::Pod; @@ -205,8 +205,7 @@ sub callback { my($event, $sub) = @_; my $old = $this->{callback}->{$event}; - $this->{callback}->{$event} = $sub - if defined $sub; + $this->{callback}->{$event} = $sub; return $old; }