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 Father; | |
$VERSION = "0.01"; | |
sub new { | |
my $self = {}; | |
bless $self; | |
return $self; | |
}; |
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 strict; | |
use warnings; | |
use MojoX::Redis; | |
my $redis1 = MojoX::Redis->new(); | |
$redis1 | |
->sadd ( "set1" => "foo" ) |