Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Algorithm::Treap (code)

by demerphq (Chancellor)
on Sep 07, 2003 at 23:49 UTC ( #289641=note: print w/ replies, xml ) Need Help??


in reply to Re: Algorithm::Treap (code)
in thread Algorithm::Treap

Uh oh (what's going on?):

I dont know. This doesnt make sense to me. Obviously it doesnt happen here, and at least one other person has had the code pass all tests. Can you double check that you copied the code correctly?


---
demerphq

<Elian> And I do take a kind of perverse pleasure in having an OO assembly language...


Comment on Re: Re: Algorithm::Treap (code)
Download Code
Re: Re: Re: Algorithm::Treap (code)
by Anonymous Monk on Sep 08, 2003 at 00:23 UTC
    Perl 5.6, Windows NT ActivePerl Build 633. I didn't copy anything, I clicked the download code link, and saved as.

      Interesting and perplexing. When I downloaded the code as you describe and ran it, it work fine, except for some complaints about some things being used only once. Yet when I run the raw code I have here the same doesn't happen. Im curious what happens if you put it in the correct location in the site/lib tree? Also, you should realize that the download code will actually wrap both code sections into one file. So you should extract the other part which is the test code. Although in this case it is after the __DATA__ line and shouldnt matter. Also those used only once errors only occur on the downloaded code and not my working copy. Weird. Anyway, im posting an update to the code to make the only once at a time errors go away.


      ---
      demerphq

      <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...
Re: Re: Re: Algorithm::Treap (code)
by Anonymous Monk on Sep 08, 2003 at 00:34 UTC
    If treap.pm is in the current directory, it doesn't work, but if I am not, it works. Very weird.

      Wow. Is that ever weird. I _do_not_ understand whats going on here at all.

      Maybe some kind monk will explain?


      ---
      demerphq

      <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

      Ok, im totally baffled. For a while I had the same issue as you. Now with the latest code it seems to work fine. But the really worrying thing is now I dont have a clue what I changed to make it so. As far as I cant tell nothing drammatic. And ive not been able to recreate the error again. Its very perplexing. Please can you redownload the scratchpad and run it as is (including the test code in the DATA section) from the same directory?

      Cheers and thanks for the heads up about this. It seems there is weirdness afoot.


      ---
      demerphq

      <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://289641]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2014-11-23 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (130 votes), past polls