projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5ab5f3
)
Nicer rendering
author
Mike Taylor
<mike@indexdata.com>
Wed, 25 Oct 2006 17:16:14 +0000
(17:16 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 25 Oct 2006 17:16:14 +0000
(17:16 +0000)
lib/ZOOM/IRSpy/Task/Retrieve.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Task/Retrieve.pm
b/lib/ZOOM/IRSpy/Task/Retrieve.pm
index
0583386
..
e0ed1f4
100644
(file)
--- a/
lib/ZOOM/IRSpy/Task/Retrieve.pm
+++ b/
lib/ZOOM/IRSpy/Task/Retrieve.pm
@@
-1,4
+1,4
@@
-# $Id: Retrieve.pm,v 1.1 2006-10-25 15:45:29 mike Exp $
+# $Id: Retrieve.pm,v 1.2 2006-10-25 17:16:14 mike Exp $
package ZOOM::IRSpy::Task::Retrieve;
@@
-51,7
+51,9
@@
sub run {
sub render {
my $this = shift();
- return ref($this) . "(" . $this->{rs}. ", " . $this->{index0} . ")";
+ my $syntax = $this->{options}->{preferredRecordSyntax};
+ $syntax = defined $syntax ? "'$syntax'" : "undef";
+ return ref($this) . "(" . $this->{index0} . ", $syntax)";
}
use overload '""' => \&render;