Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Writing a random dungeon generator in perl.

by kirbyk (Friar)
on Aug 15, 2005 at 21:51 UTC ( #484006=note: print w/replies, xml ) Need Help??


in reply to Writing a random dungeon generator in perl.

It looks like the # character is being interpreted as a start-comment character, which makes it very confusing as to what perl actually things this code is.

I'd recommend storing it internally as something else, and only converting it to a # in printmap. The fewer \# you have, the better.

-- Kirby, WhitePages.com

  • Comment on Re: Writing a random dungeon generator in perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://484006]
help
Chatterbox?
[james28909]: i have discovered hash of arrays
[james28909]: @{$hash{$key}}$_;

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-04-27 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.