1234567891011121314151617 #!/usr/bin/env perluse strict;use warnings;use Wikibase::Datatype::Utils qw(check_entity);my $self = { 'key' => 'Q123',};check_entity($self, 'key');# Print out.print "ok\n";# Output:# ok
#!/usr/bin/env perl
use
strict;
warnings;
Wikibase::Datatype::Utils
qw(check_entity)
;
my
$self
= {
'key'
=>
'Q123'
,
};
check_entity(
);
# Print out.
print
"ok\n"
# Output:
# ok