#!/usr/bin/perl -w
use strict;
use WWW::UsePerl::Journal;
my $subject = <>;
chomp $subject;
my $entry = join( '', <> );
my $j = WWW::UsePerl::Journal->new('fred');
$j->login('xxxx');
$j->postentry(
title => $subject,
text => $entry,
);
[updated with petdance's changed]
Why open manually? (Score:2)
to
Magical @ARGV processing is your friend!
--
xoa
Re:Why open manually? (Score:1)
---ict / Spoon