X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FPod.pm;h=3e2f9ceec2e3c3ba22346e94cad9b718ce7cf3ab;hb=d104e0fcbd34a71d39ed68ac874ad2e7c34c3c23;hp=280f099e97c2a3b6a05e8d2cddd009acbf940dbb;hpb=cd504127198fc48b6b927cd98f460cf3d62c9e98;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/Pod.pm b/lib/ZOOM/Pod.pm index 280f099..3e2f9ce 100644 --- a/lib/ZOOM/Pod.pm +++ b/lib/ZOOM/Pod.pm @@ -1,4 +1,4 @@ -# $Id: Pod.pm,v 1.20 2006-09-27 12:40:44 mike Exp $ +# $Id: Pod.pm,v 1.21 2006-09-27 12:48:20 mike Exp $ package ZOOM::Pod; @@ -210,6 +210,20 @@ sub callback { return $old; } +=head2 remove_callbacks() + + $pod->remove_callbacks(); + +Removes all registed callbacks from the pod. This is useful when the +pod has completed one operation and is about to start the next. + +=cut + +sub remove_callbacks { + my $this = shift(); + $this->{callback} = {}; +} + =head2 search_pqf() $pod->search_pqf("@attr 1=1003 wedel");