Skip to content

Commit

Permalink
repair strange error with Perl6::Export::Attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
mishin committed Oct 11, 2015
1 parent 77db407 commit a2d0161
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Build.PL
@@ -1,7 +1,7 @@
# This Build.PL for FamilyTreeInfo was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.014.
# This Build.PL for FamilyTreeInfo was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.008.
use strict;
use warnings;

use 5.008005;
use Module::Build::Tiny 0.034;
use Module::Build::Tiny 0.039;
Build_PL();
6 changes: 3 additions & 3 deletions LICENSE
@@ -1,4 +1,4 @@
This software is copyright (c) 2015- by Dr. Ferenc Bodon and Simon Ward and Nikolay Mishin.
This software is copyright (c) 2015- by Dr. Ferenc Bodon and Simon Ward and Nikolay Mishin.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
Expand All @@ -12,7 +12,7 @@ b) the "Artistic License"

--- The GNU General Public License, Version 1, February 1989 ---

This software is Copyright (c) 2015- by Dr. Ferenc Bodon and Simon Ward and Nikolay Mishin.
This software is Copyright (c) 2015- by Dr. Ferenc Bodon and Simon Ward and Nikolay Mishin.

This is free software, licensed under:

Expand Down Expand Up @@ -272,7 +272,7 @@ That's all there is to it!

--- The Artistic License 1.0 ---

This software is Copyright (c) 2015- by Dr. Ferenc Bodon and Simon Ward and Nikolay Mishin.
This software is Copyright (c) 2015- by Dr. Ferenc Bodon and Simon Ward and Nikolay Mishin.

This is free software, licensed under:

Expand Down
2 changes: 1 addition & 1 deletion lib/Ftree/FamilyTreeBase.pm
Expand Up @@ -30,7 +30,7 @@ use Params::Validate qw(:all);
use CGI qw(:standard);
use Ftree::FamilyTreeDataFactory;
use Ftree::Person;
use Ftree::TextGeneratorFactory qw(getTextGenerator init);
use Ftree::TextGeneratorFactory;
use Ftree::SettingsFactory;
use Ftree::Date::Tiny;
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
Expand Down
8 changes: 4 additions & 4 deletions lib/Ftree/TextGeneratorFactory.pm
Expand Up @@ -44,18 +44,18 @@ my %langToPict = (
);
my $reverse_name = 0;

sub init : Export{
sub init : Export(:DEFAULT) {
( $language ) = @_;
}

sub getLangToPict : Export{
sub getLangToPict : Export(:DEFAULT) {
return %langToPict;
}
sub get_reverse_name : Export{
sub get_reverse_name : Export(:DEFAULT) {
return $reverse_name;
}

sub getTextGenerator : Export{
sub getTextGenerator : Export(:DEFAULT) {
switch ($language) {
case "hu" {
$reverse_name = 1;;
Expand Down

0 comments on commit a2d0161

Please sign in to comment.