I realized the error of my ways... (Thanks Sam). I was doing something without realizing I was doing it.

This matter is a non-issue now. Thanks to everyone who responded.

Jeff Pelkey wrote:

Howdy,

Actually all Windows platforms (I am assuming Server 2003 is the same) only
allow you to Get the ProcessID.  Are you trying to kill the process or are
you trying to change a process flag or something?

Why are you trying to change the PID?  What does that allow you to do on
other O/S's?  I have never considered this something you could or would
change.

Thanx, Jeff.



Sam Tregar wrote:
> On Mon, 27 Oct 2003, Puneet Kishor wrote:
>
>
>>However, the following works fine on MacOS X
>>
>>my $template = HTML::Template->new(
>>               filename => index.tmpl,
>>               global_vars => 1,
>>               loop_context_vars => 1,
>>               filter => sub { $$ =~ s/<!--#.*?-->//g; }
>>                  );
>
>
> Wow, that's twisted!  Why are you modifying the PID of the process ($$)?
>
>
>>but gives the following error on Windows XP
>>
>>HTML::Template->new() : fatal error occured during filter call:
>>Modification of a read-only value attempted at
>>D:/htdocs/perlpim/cal/index.cgi line 28.
>>  at D:/htdocs/perlpim/cal/index.cgi line 29
>
>
> I guess the PID is readonly on XP.
>
> -sam



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to