my $ua = Flickr::Upload->new( {'key' => $api_key, 'secret' => $not_so_secret} ); $ua->agent( "flickr_upload_set/$version" ); $ua->env_proxy();