Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of jjore (6662)

Wednesday January 03, 2007
12:01 PM

Wasted a night in the merry old land of Oz (the language)

[ #32061 ]

I spent most of last night struggling to figure out how to do the equivalent of XMLin( get( $url ) ) in Mozart/Oz and getting frustrated because the interpreter would just "hang." It turns out this only happens when I run it on Windows and not on Linux. Arrrrgh!

   Parser at 'x-oz://system/xml/Parser.ozf'
   Url XmlParser Doc Fd
   Url = ''
   % Hangs on Windows.
   Fd = {New Open.file init(url:Url flags:[read])}
   % Commented out for testing. Also hangs on Windows
   % XmlParser = {New Parser.parser init}
   % {XmlParser parseURL(Url Doc)}
   {Application.exit 0}

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.