This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html | |
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" | |
xmlns:http="http://www.w3.org/2006/http#" | |
xmlns:cnt="http://www.w3.org/2008/content#"> | |
<head> | |
<title>Example of HTTP in RDFa</title> | |
<style type="text/css"> | |
div[typeof="http:Request"] | |
{ | |
border: 1px solid black; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urN Test-RDF-0.22/lib/Test/RDF.pm Test-RDF-0.23/lib/Test/RDF.pm | |
--- Test-RDF-0.22/lib/Test/RDF.pm 2011-04-01 22:51:12.000000000 +0100 | |
+++ Test-RDF-0.23/lib/Test/RDF.pm 2011-10-13 10:46:02.477025390 +0100 | |
@@ -8,10 +8,10 @@ | |
use RDF::Trine::Parser; | |
use RDF::Trine::Model; | |
use RDF::Trine::Graph; | |
+use Scalar::Util qw/blessed/; | |
use base 'Test::Builder::Module'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use 5.010; | |
use strict; | |
use warnings; | |
use Data::Dump qw(dump); | |
use File::Slurp; | |
use IO::Uncompress::Gunzip qw(gunzip $GunzipError); | |
use JSON; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package returning; | |
use 5.008001; | |
use strict; | |
BEGIN { | |
$returning::AUTHORITY = 'cpan:TOBYINK'; | |
$returning::VERSION = '0.001'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package returning; | |
use 5.008001; | |
use strict; | |
BEGIN { | |
$returning::AUTHORITY = 'cpan:TOBYINK'; | |
$returning::VERSION = '0.001'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use HTML::HTML5::Microdata::Parser; | |
use LWP::Simple 'get'; | |
use RDF::Query; | |
my $uri = "http://buzzword.org.uk/2012/schema-org.html"; | |
my $microdata = HTML::HTML5::Microdata::Parser->new( | |
get($uri), | |
$uri, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use HTML::HTML5::Microdata::Parser; | |
use LWP::Simple 'get'; | |
use RDF::Query; | |
my $uri = "http://helion.pl/"; | |
my $microdata = HTML::HTML5::Microdata::Parser->new( | |
get($uri), | |
$uri, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use 5.010; | |
use warnings FATAL => qw(all); | |
eval { "x" + 1 } or warn "Caught error: $@\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use 5.014; | |
use Data::Dumper; | |
package Foo { | |
use Moose; | |
sub bar { ... } | |
} | |
print Dumper [ Foo->meta->get_method_list ]; | |
print Dumper [ Foo->new->meta->get_method_list ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use 5.014; | |
use Throwable::Error; | |
{ | |
package Trine::Role::Node; | |
use Moose::Role; | |
requires 'sse'; | |
requires 'from_sse'; | |
requires 'type'; | |
sub is_node { 1 } |
OlderNewer