Skip to content

Commit

Permalink
Add the examples to the distribution, and ensure they run in their ne…
Browse files Browse the repository at this point in the history
…w home.
  • Loading branch information
rcaputo committed Sep 23, 2009
1 parent 6bf20af commit 9e56da9
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 15 deletions.
19 changes: 19 additions & 0 deletions MANIFEST
@@ -1,8 +1,27 @@

CHANGES CHANGES
MANIFEST MANIFEST
META.yml META.yml
Makefile.PL Makefile.PL
README 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.pm
lib/Reflex/Handle.pm lib/Reflex/Handle.pm
lib/Reflex/Object.pm lib/Reflex/Object.pm
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-01-discrete-observer.pl
Expand Up @@ -18,7 +18,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


use Reflex::Object; use Reflex::Object;
use Reflex::Timer; use Reflex::Timer;
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-02-observed-new.pl
Expand Up @@ -12,7 +12,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


use Reflex::Object; use Reflex::Object;
use Reflex::Timer; use Reflex::Timer;
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-03-observer-roles.pl
Expand Up @@ -10,7 +10,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# Define the watcher class. # Define the watcher class.


Expand Down
2 changes: 1 addition & 1 deletion eg/eg-04-inheritance.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# An object's emitted events can also trigger methods in the subclass. # An object's emitted events can also trigger methods in the subclass.
# This example creates a UDP echo server using inheritance rather than # This example creates a UDP echo server using inheritance rather than
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-05-composition.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# An object's emitted events can also trigger methods in the subclass. # 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 # This example is a direct port of eg-04-inheritance.pl, but it uses a
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-06-moose-roles.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# An object's emitted events can also trigger methods in the subclass. # An object's emitted events can also trigger methods in the subclass.
# This example creates a UDP echo server using a role rather than # This example creates a UDP echo server using a role rather than
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-07-wheel-run.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# Demonstrate how wheels may be encapsulated in thin, # Demonstrate how wheels may be encapsulated in thin,
# configuration-only subclasses. # configuration-only subclasses.
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-08-observer-trait.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# Demonstrate how wheels may be encapsulated in thin, # Demonstrate how wheels may be encapsulated in thin,
# configuration-only subclasses. # configuration-only subclasses.
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-09-emitter-trait.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# Objects may emit events when their members are changed. # Objects may emit events when their members are changed.


Expand Down
2 changes: 1 addition & 1 deletion eg/eg-10-setup.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# Exercise the new "setup" option for Emitter and Observer traits. # Exercise the new "setup" option for Emitter and Observer traits.


Expand Down
2 changes: 1 addition & 1 deletion eg/eg-11-poco-postback.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# Exercise Reflex::POE::Postback, for passing postbacks into POE space. # Exercise Reflex::POE::Postback, for passing postbacks into POE space.


Expand Down
2 changes: 1 addition & 1 deletion eg/eg-12-poco-event.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


# Exercise Reflex::POE::Event, for passing events into POE space. # Exercise Reflex::POE::Event, for passing events into POE space.


Expand Down
2 changes: 1 addition & 1 deletion eg/eg-13-irc-bot.pl
Expand Up @@ -6,7 +6,7 @@


use strict; use strict;
use warnings; use warnings;
use lib qw(lib); use lib qw(../lib);


{ {
package Bot; package Bot;
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-14-synopsis.pl
Expand Up @@ -2,7 +2,7 @@


use warnings; use warnings;
use strict; use strict;
use lib qw(lib); use lib qw(../lib);


{ {
package App; package App;
Expand Down
2 changes: 1 addition & 1 deletion eg/eg-15-handle.pl
@@ -1,6 +1,6 @@
#!/usr/bin/env perl #!/usr/bin/env perl


use lib qw(lib); use lib qw(../lib);


{ {
package UdpPeer; package UdpPeer;
Expand Down

0 comments on commit 9e56da9

Please sign in to comment.