From 7ef21ce6eb90a3a7b7bf0b82144b9c488e50e5fd Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Mon, 2 Mar 2009 16:24:56 +0100 Subject: [PATCH] Documentation fixes --- Peek.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Peek.pm b/Peek.pm index a374a47..d5f631a 100644 --- a/Peek.pm +++ b/Peek.pm @@ -216,12 +216,12 @@ Example "abc\nde\x{20ac}fg" -=head2 DDual ($var [, $getmagic]) +=head2 my ($pv, $iv, $nv, $rv, $hm) = DDual ($var [, $getmagic]) DDual will return the basic elements in a variable, guaranteeing that no conversion takes place. This is very useful for dual-var variables, or when checking is a variable has defined entries for a certain type of -scalar. For each Integer (IV), Double (NV), String (PV), and Reference (RV), +scalar. For each String (PV), Integer (IV), Double (NV), and Reference (RV), the current value of C<$var> is returned or undef if it is not set (yet). The 5th element is an indicator if C<$var> has magic, which is B invoked in the returned values, unless explicitly asked for with a true optional @@ -244,7 +244,7 @@ C is not exported by default. Example: print DPeek for DDual - Data::Peek::triplevar ("\N{GREEK SMALL LETTER PI}", 3, 3.1415)' + Data::Peek::triplevar ("\N{GREEK SMALL LETTER PI}", 3, 3.1415); PV("\317\200"\0) [UTF8 "\x{3c0}"] IV(3) -- 2.11.4.GIT