Skip to content
Browse files

Add the examples to the distribution, and ensure they run in their ne…

…w home.
  • Loading branch information...
1 parent 6bf20af commit 9e56da91ceda4c20bb5418b606fb1a5bc4c65a53 @rcaputo committed
View
19 MANIFEST
@@ -1,8 +1,27 @@
+
CHANGES
MANIFEST
META.yml
Makefile.PL
README
+eg/ExampleHelpers.pm
+eg/PoCoEvent.pm
+eg/PoCoPostback.pm
+eg/eg-01-discrete-observer.pl
+eg/eg-02-observed-new.pl
+eg/eg-03-observer-roles.pl
+eg/eg-04-inheritance.pl
+eg/eg-05-composition.pl
+eg/eg-06-moose-roles.pl
+eg/eg-07-wheel-run.pl
+eg/eg-08-observer-trait.pl
+eg/eg-09-emitter-trait.pl
+eg/eg-10-setup.pl
+eg/eg-11-poco-postback.pl
+eg/eg-12-poco-event.pl
+eg/eg-13-irc-bot.pl
+eg/eg-14-synopsis.pl
+eg/eg-15-handle.pl
lib/Reflex.pm
lib/Reflex/Handle.pm
lib/Reflex/Object.pm
View
2 eg/eg-01-discrete-observer.pl
@@ -18,7 +18,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
use Reflex::Object;
use Reflex::Timer;
View
2 eg/eg-02-observed-new.pl
@@ -12,7 +12,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
use Reflex::Object;
use Reflex::Timer;
View
2 eg/eg-03-observer-roles.pl
@@ -10,7 +10,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# Define the watcher class.
View
2 eg/eg-04-inheritance.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# An object's emitted events can also trigger methods in the subclass.
# This example creates a UDP echo server using inheritance rather than
View
2 eg/eg-05-composition.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# An object's emitted events can also trigger methods in the subclass.
# This example is a direct port of eg-04-inheritance.pl, but it uses a
View
2 eg/eg-06-moose-roles.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# An object's emitted events can also trigger methods in the subclass.
# This example creates a UDP echo server using a role rather than
View
2 eg/eg-07-wheel-run.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# Demonstrate how wheels may be encapsulated in thin,
# configuration-only subclasses.
View
2 eg/eg-08-observer-trait.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# Demonstrate how wheels may be encapsulated in thin,
# configuration-only subclasses.
View
2 eg/eg-09-emitter-trait.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# Objects may emit events when their members are changed.
View
2 eg/eg-10-setup.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# Exercise the new "setup" option for Emitter and Observer traits.
View
2 eg/eg-11-poco-postback.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# Exercise Reflex::POE::Postback, for passing postbacks into POE space.
View
2 eg/eg-12-poco-event.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
# Exercise Reflex::POE::Event, for passing events into POE space.
View
2 eg/eg-13-irc-bot.pl
@@ -6,7 +6,7 @@
use strict;
use warnings;
-use lib qw(lib);
+use lib qw(../lib);
{
package Bot;
View
2 eg/eg-14-synopsis.pl
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use lib qw(lib);
+use lib qw(../lib);
{
package App;
View
2 eg/eg-15-handle.pl
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
-use lib qw(lib);
+use lib qw(../lib);
{
package UdpPeer;

0 comments on commit 9e56da9

Please sign in to comment.
Something went wrong with that request. Please try again.