Show
Ignore:
Timestamp:
05/26/08 00:59:06 (6 months ago)
Author:
yusukebe
Message:

Checking in changes prior to tagging of version 0.04. Changelog diff is:

Index: Changes
===================================================================
--- Changes (リビジョン 12375)
+++ Changes (作業コピー)
@@ -1,4 +1,5 @@

Revision history for WWW-YourFileHost?

+0.04 MON MAY 26 01:00:00 2008

0.03 FRI Apr 25 11:13:00 2008

remove perlcritic test

0.02 Wed Dec 12 22:33:21 2007

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/WWW-YourFileHost/trunk/lib/WWW/YourFileHost.pm

    r12012 r12377  
    1111use HTTP::Cookies; 
    1212 
    13 our $VERSION = '0.03'; 
     13our $VERSION = '0.04'; 
    1414 
    1515sub new { 
     
    8989=head1 SYNOPSIS 
    9090 
     91    use LWP::UserAgent; 
    9192    use WWW::YourFileHost; 
    92  
    93     my $url =  
    94       "http://www.yourfilehost.com/media.php?cat=video&file=hoge.wmv"; 
     93    my $url = "http://www.yourfilehost.com/media.php?cat=video&file=hoge.wmv"; 
     94    my $ua  = LWP::UserAgent->new( agent => "WWW::YourFileHost" ); 
     95    $ua->cookie_jar( 
     96        HTTP::Cookies->new( 
     97            file     => '', 
     98            autosave => 1, 
     99        ) 
     100    ); 
    95101    my $yourfilehost = WWW::YourFileHost->new( url => $url ); 
    96       # or my $yourfilehost = WWW::YourFileHost->new( id => $id ); 
    97102    print $yourfilehost->photo . "\n"; 
    98103    print $yourfilehost->video_id . "\n";