in reply to Re: Send before headers - in perl,
in thread Send before headers - in perl,

JavaScript could be disabled though, so securest way is in code... eval worked for me in Perl, I went and searched my code and it did work.

maybe not the way it was intended but it worked for me.

Replies are listed 'Best First'.
Re^3: Send before headers - in perl,
by haukex (Archbishop) on Jun 30, 2022 at 06:38 UTC
    eval worked for me in Perl, I went and searched my code and it did work.

    I'm not sure eval explains it, though, so it would be interesting to see your code. The only way I can think of at the moment that eval could be used to delay something is to delay a BEGIN block or use.

    JavaScript could be disabled though, so securest way is in code...

    Yes, my first example doesn't require JavaScript.

      You're correct, my bad, that is in the header section, a browser function regardless of javascript. lol. I don't think I realized it until you point it out. lol.