Thread:User talk:Nx/Something completely different: uploading a file/reply (7)

my $resp = $ua->post( 	$url, 	{ 		"action"  => "upload", 		"filename" => "Platzhalter-328x448.png", 		"file"     => $data, 		"token"    => $edittoken, 		"format"   => "xml" 	} );

That's the code snippet, $data is the actual file...