in reply to Posting a file from command line

Use wget and --post-file? No perl needed </blasphemy>