X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FBit%2FMorseSignals.pm;h=5866e6cbcd93a93e267cc5e90b633f9fdd559670;hb=16fc0df47643288d3229f8671e339d89b159f155;hp=b51cb3accfdaae2d2a3a2729851db25701d75090;hpb=d4cad38280f090c2057f4df1d6ef1fce88ccbcc6;p=perl%2Fmodules%2FBit-MorseSignals.git diff --git a/lib/Bit/MorseSignals.pm b/lib/Bit/MorseSignals.pm index b51cb3a..5866e6c 100644 --- a/lib/Bit/MorseSignals.pm +++ b/lib/Bit/MorseSignals.pm @@ -20,8 +20,8 @@ our $VERSION = '0.06'; use Bit::MorseSignals::Emitter; use Bit::MorseSignals::Receiver; - my $deuce = new Bit::MorseSignals::Emitter; - my $pants = new Bit::MorseSignals::Receiver done => sub { print $_[1], "\n" }; + my $deuce = Bit::MorseSignals::Emitter->new; + my $pants = Bit::MorseSignals::Receiver->new(done => sub { print $_[1], "\n" }); $deuce->post('HLAGH') for 1 .. 3; $pants->push while defined ($_ = $deuce->pop); @@ -106,11 +106,11 @@ The constants L, L, L and L; our @EXPORT = (); our %EXPORT_TAGS = ( - 'consts' => [ qw/BM_DATA_AUTO BM_DATA_PLAIN BM_DATA_UTF8 BM_DATA_STORABLE/ ] + 'consts' => [ qw ] ); our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS; $EXPORT_TAGS{'all'} = [ @EXPORT_OK ]; @@ -127,7 +127,7 @@ L, L. Vincent Pit, C<< >>, L. -You can contact me by mail or on #perl @ FreeNode (vincent or Prof_Vince). +You can contact me by mail or on C (vincent). =head1 BUGS