R. Joseph Newton wrote: > > Jan Eden wrote: > > > > > Apart from the missing semicolon, I don't know if Perl on Windows like the > > shebang line at the beginning. With Unix, it's the right way to do it. > > It doesn't care. It ignores the path information, but does read any switches > on the line.
In addition, when invoked with the -x switch, Perl will ignore anything in the script before the #!perl line. Together with __END__ or __DATA__ this lets you embed working scripts in the middle of other documents. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>