MP3-Daemon

 view release on metacpan or  search on metacpan

Daemon/Simple.pm  view on Meta::CPAN

}

# @
#_______________________________________
sub ls {
    my $self   = shift;
    my $client = $self->{client};
    my $pl     = $self->{playlist};

    my %opt;
    local @ARGV = @_;
    getopts('lf', \%opt);
    my $re = shift(@ARGV);

    my $attr = defined($opt{f}) ? URL : TITLE;
    my $i;
    my $n = $self->{n};
    my $l = defined($opt{l}) 
        ? \&ls_long_entry
        :  &ls_short_entry_factory($attr);
    for ($i = 0 ; $i < scalar(@$pl); $i++) {

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.015 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )