As a trainer I agree with jpeg. Use a browser to direct students, show slides, and so on, but practical work should be done locally. Otherwise you may have security and performance issues.
I'm a Perl's trainer too and agree you about pratical work, but this idea is about "try Perl in 15 minutes". That's why I'm consulting you about a better way (if exist) to do this.