#!/usr/bin/perl -w use CGI qw(:standard); my $url = param('url'); if ($url) { print header(), start_html(), " ", "
$url
", "", end_html; } else { print header(), start_html(), start_form(-method=> GET), "URL of MP3: ", textfield(-name => 'url'), end_form, end_html; }