RE: How do I implement this?

2008-06-21 Thread gowthamgowtham
> How would I implement this example to parse an HTML file? I know I'm > missing something because I don't see a place in the module, or > whatever this is, for the HTML file to be referenced. Just assume I > know very little. > package CommentStripper; > require HTML::Filter; > @ISA=qw(HTML::Fi

Launching perl scripts on systems which do not support #!

2008-06-21 Thread gowthamgowtham
Hello All, I found this in Programming Perl - 3rd edition. Could not understand how this works. #!/bin/sh -- # perl, to stop looping eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' if 0; Questions: - Who (I mean which program/shell) runs eval 'exec .'? - What is $