- or download this
package Foo;
use strict;
...
sub new {bless {}, __PACKAGE__}
sub right_shift { print "OK!\n"}
1;
- or download this
#!/usr/bin/perl -w
use strict;
use Foo;
my $foo = Foo->new;
"test" >> $foo;
- or download this
Useless use of right bitshift (>>) in void context at foo.pl line 5.
OK!