From: Mike Taylor Date: Wed, 9 May 2007 11:05:30 +0000 (+0000) Subject: s/rs/syntax X-Git-Tag: CPAN-v1.02~425 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=6ad6d5a63a9a4eedb7c446e82c1c156f152172ce;p=irspy-moved-to-github.git s/rs/syntax --- diff --git a/lib/ZOOM/IRSpy/Task/Retrieve.pm b/lib/ZOOM/IRSpy/Task/Retrieve.pm index 05e0e8f..4d7a8c5 100644 --- a/lib/ZOOM/IRSpy/Task/Retrieve.pm +++ b/lib/ZOOM/IRSpy/Task/Retrieve.pm @@ -1,4 +1,4 @@ -# $Id: Retrieve.pm,v 1.5 2007-05-09 11:02:41 mike Exp $ +# $Id: Retrieve.pm,v 1.6 2007-05-09 11:05:30 mike Exp $ package ZOOM::IRSpy::Task::Retrieve; @@ -32,7 +32,7 @@ sub new { $this->{rs} = $rs; $this->{index0} = $index0; # Save initial record-syntax for render()'s benefit - $this->{rs} = $this->{options}->{preferredRecordSyntax}; + $this->{syntax} = $this->{options}->{preferredRecordSyntax}; return $this; } @@ -58,7 +58,7 @@ sub run { sub render { my $this = shift(); - my $syntax = $this->{rs}; + my $syntax = $this->{syntax}; $syntax = defined $syntax ? "'$syntax'" : "undef"; return ref($this) . "(" . $this->{index0} . ", $syntax)"; }