[Koha-bugs] [Bug 13438] Convert normarc framework plugins to new style (see also 10480)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 6 02:40:39 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13438
--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 49823
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49823
Bug 13438: Convert normarc framework plugins to new style
Review of attachment 49823:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13438&attachment=49823)
-----------------------------------------------------------------
::: cataloguing/value_builder/normarc_field_007.pl
@@ +88,1 @@
> #FIXME: There is probably a more-elegant way to do this!
You mean something like:
use Data::Dumper;
my $str='abcdef';
my $len=22-length $str;
@tmp = split //,$str;
push @tmp,(undef)x($len);
print Dumper(\@tmp);"
And some sort of my @field_numbers = map { "f$_" } (0..21);
Then use a loop to template->param it all?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list