From 1cf0018c19e6bec1cf9be7a8004ec546b799ad9e Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Mon, 24 Sep 2012 12:58:03 +0000 Subject: [PATCH] Bad example doc --- modules/Bio/EnsEMBL/Utils/IO.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/Utils/IO.pm b/modules/Bio/EnsEMBL/Utils/IO.pm index f1507ade73..9a0aa972da 100644 --- a/modules/Bio/EnsEMBL/Utils/IO.pm +++ b/modules/Bio/EnsEMBL/Utils/IO.pm @@ -398,7 +398,7 @@ sub work_with_file { Description : Performs the nitty gritty of checking if a file handle is open and closing the resulting filehandle down. Returntype : None - Example : work_with_file('/tmp/out.txt.gz', 'w', sub { + Example : gz_work_with_file('/tmp/out.txt.gz', 'w', sub { my ($fh) = @_; print $fh 'hello'; return; -- GitLab