in reply to Re: perl scripter error ReferenceError: The variable ActiveXObject has not been declared
in thread perl scripter error ReferenceError: The variable ActiveXObject has not been declared
If you look at the js, it should not have gone inside the else condition, all this while when it was working, i think the if condition was satisfied. But for some reason it is not going into the if condition today and am really appalled by so little support in perl by the module owners.
In this script, this part holds the keyif (window.XMLHttpRequest) { req=new XMLHttpRequest(); } else { req=new ActiveXObject("Microsoft.XMLHTTP"); }
Is there something to do with media_style, using something else instead of text/html?my $u = new URI 'data:'; $u->media_type('text/html'); $u->data( $h ); $w->get($u);
|
---|
In Section
Seekers of Perl Wisdom