for windows, jaimon's perldoc example is fine at the command line; for his first, just swap the quotes around to satisfy Windows syntax (eg, perl -MHTML::Parser -le "print 'yay...'")
Comment on Re^2: Has html-parser will be part of perl standard build