#!/usr/bin/perl use LWP::UserAgent; use HTTP::Request::Common; use Getopt::Std; sub preamble { print "yolanda-upload by Johannes Schauer (josch)\n"; print "http://yolanda.mister-muffin.de/trac\n"; print "\n" } # set these values for default -l (login) and -p (pass) values # use constant USER => ""; use constant PASS => ""; # various urls my $url = 'http://localhost'; unless (@ARGV) { preamble(); print "Usage: $0 ", "-u [username] ", "-p [password] ", "-f