|
My Name
Subscribe
|
Wed, 30 Mar 2005Crypt::MatrixSSL Matrix::SSLapt-cache show libmatrixssl1.2 Package: libmatrixssl1.2 Priority: optional Section: libs Installed-Size: 96 Maintainer: Gerrit Pape [/Misc] permanent link Thu, 17 Mar 20051111011310.....
#!/usr/bin/perl
use strict;
use Gtk2 -init;
use Glib qw(TRUE FALSE);
my $window = Gtk2::Window->new;
$window->signal_connect(delete_event => sub { Gtk2->main_quit; });
my $label = Gtk2::Label->new('' . time());
my $font = Gtk2::Pango::FontDescription->from_string("Sans Bold 48");
$label->modify_font($font);
Glib::Timeout->add(250, sub { $label->set_text('' . time()); TRUE; });
$window->add($label);
$window->show_all;
Gtk2->main;
[/Perl] permanent link use DBM::Deep use DBM::Deep;
my $db = new DBM::Deep "foo.db";
$db->{key} = 'value'; # tie() style
print $db->{key};
$db->put('key', 'value'); # OO style
print $db->get('key');
# true multi-level support
$db->{my_complex} = [
'hello', { perl => 'rules' },
42, 99 ];
DESCRIPTIONA unique flat-file database module, written in pure perl. True multi-level hash/array support (unlike MLDBM, which is faked), hybrid OO / tie() interface, cross-platform FTPable files, and quite fast. Can handle millions of keys and unlimited hash levels without significant slow-down. Written from the ground-up in pure perl -- this is NOT a wrapper around a C-based DBM. Out-of-the-box compatibility with Unix, Mac OS X and Windows. [/Perl] permanent link Mon, 14 Mar 2005-Mre=debugTue, 08 Mar 2005Net::Lite::FTP - tls-enabled ftp client library for perl.
NAME
Net::Lite::FTP - Perl FTP client
SYNOPSIS
use Net::Lite::FTP;
my $tlsftp=Net::Lite::FTP->new();
$tlsftp->open("ftp.tls.pl","21");
$tlsftp->user("user");
$tlsftp->pass("password");
$tlsftp->cwd("pub");
my $files=$tlsftp->nlst("*.exe");
foreach $f (@files) {
$tlsftp->get($f);
};
DESCRIPTION
Very simple FTP client with support for TLS
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||