Try to fix link paths
This commit is contained in:
parent
973af154e1
commit
ba7203c2af
|
@ -5,7 +5,7 @@ use strict;
|
|||
use warnings;
|
||||
|
||||
# Data
|
||||
package cap2site::Config;
|
||||
package Config;
|
||||
use Class::Struct;
|
||||
|
||||
struct('Config', => {
|
||||
|
@ -47,7 +47,7 @@ sub isA($$$) {
|
|||
return grep $self->extensions->{$type}, $url;
|
||||
}
|
||||
|
||||
package cap2site::State;
|
||||
package State;
|
||||
|
||||
sub new($$) {
|
||||
my ($class,$args) = @_;
|
||||
|
@ -198,7 +198,7 @@ use Pod::Usage;
|
|||
use Getopt::Long;
|
||||
|
||||
my $help = 0;
|
||||
our $config = $cap2site::Config::DEFAULT;
|
||||
our $config = $Config::DEFAULT;
|
||||
GetOptions (
|
||||
'help+' => \$help,
|
||||
'inline-audio!' => \$config->inline->{audio},
|
||||
|
@ -209,7 +209,7 @@ GetOptions (
|
|||
|
||||
pod2usage(-verbose => $help) if $help;
|
||||
|
||||
our $state = cap2site::State->new(pack('b2', 0b00));
|
||||
our $state = State->new(pack('b2', 0b00));
|
||||
main::parse $config, $state, \*STDIN;
|
||||
|
||||
__END__
|
||||
|
|
Loading…
Reference in New Issue