Skip to content

Commit

Permalink
Fix typo in reftype() call.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjray committed Feb 10, 2010
1 parent 3195d63 commit 8773524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/RPC/XML.pm
Expand Up @@ -64,7 +64,7 @@ require Exporter;
RPC_DATETIME_ISO8601 RPC_BASE64 RPC_NIL) ],
all => [ @EXPORT_OK ]);

$VERSION = '1.47';
$VERSION = '1.48';
$VERSION = eval $VERSION; ## no critic

# Global error string
Expand Down Expand Up @@ -987,7 +987,7 @@ sub to_file

my ($fh, $buf, $do_close, $count) = (undef, '', 0, 0);

if (ref $file and retype($file) eq 'GLOB')
if (ref $file and reftype($file) eq 'GLOB')
{
$fh = $file;
}
Expand Down

0 comments on commit 8773524

Please sign in to comment.