Bio-Das
view release on metacpan or search on metacpan
Das/Segment.pm view on Meta::CPAN
$factory->set_option(label => $do_label);
}
my $track_count = keys %tracks;
return wantarray ? ($track_count,$panel,\@new_tracks) : $track_count;
}
sub get_cached_stylesheet {
my $self = shift;
my $tmpdir = File::Spec->tmpdir;
my $program = basename($0);
my $user = (getpwuid($>))[0];
my $url = $self->das->name.'/stylesheet';
foreach ($program,$user,$url) {
tr/a-zA-Z0-9_-/_/c;
}
my $dir = File::Spec->catfile($tmpdir,"$program-$user");
mkpath($dir) or die "$dir: $!" unless -d $dir;
my $path = File::Spec->catfile($dir,$url);
my $stylesheet;
( run in 0.283 second using v1.01-cache-2.11-cpan-8d75d55dd25 )