Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

kiat's scratchpad

by kiat (Vicar)
on Jun 02, 2004 at 00:40 UTC ( #358908=scratchpad: print w/replies, xml ) Need Help??

for ww:

You missed a double quote towards the end. I get the uninitialised value in concatenation warnings too.

$message =~ s~\[size=(.+?)\](.+?)\[/size\]~"<font size=\"".(($1 > 10) +? 10 : $1)."\">$2</font>"~eisg;

if (done) { String code = doSolve(); String newurl = "http://localhost/?node=game&action=solove&code= +" + code; try { getAppletContext().showDocument(new URL(newurl)); } catch (Exception ex) {} endGame(); } public String doSolve() { String file = "/java/file"; String test = "yyyyyy"; try { URL url = new URL(getDocumentBase(), file); BufferedReader in = new BufferedReader(new InputStreamReader(url +.openStream())); String code = in.readLine(); test = code; } catch (IOException e) {} return test; //System.out.println("string:" + code); }
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Corion]: Whoa! Somebody forwarded the AnyEvent::Impl:: Prima loop to schmorp and he's even interested in maintaining it himself - that'd be highly convenient for me ;)
[Corion]: (I also have a mail by dk who suggests some additions, which I should add this evening)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2016-12-09 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (151 votes). Check out past polls.