Hacksaw  wrote:
>
> I want to have something like die, but for the web, so I want it
> to print out the error with a <br> at the end, etc.
>
> How the F### do I get __LINE__ to be evaluated, not where it is in
> the program file, but where the function is called?
>
> Another way of asking this is, how would I rewrite the die function
> in Perl?
>

Not sure exactly what you need, but will

  use CGI::Carp 'fatalsToBrowser'

do it for you?

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to