Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: what would you like to see in perl5.12?

by ysth (Canon)
on Aug 21, 2007 at 05:50 UTC ( #634008=note: print w/replies, xml ) Need Help??

in reply to Re: what would you like to see in perl5.12?
in thread what would you like to see in perl5.12?

Do you have a use case in mind? Given the lack of order of keys and the alternation of keys and values, I can't come up with one.
  • Comment on Re^2: what would you like to see in perl5.12?

Replies are listed 'Best First'.
Re^3: what would you like to see in perl5.12?
by BrowserUk (Pope) on Aug 21, 2007 at 06:27 UTC

    The really simple one of checking what is going on in the hash when debugging.

    It would be even better if the formatting was a little more sophisticated than just a space separated list. Say key1:value1 key2:value2 key3:value3, but that's a nicety.

    Just as with the default interpolation of hashes in Perl 6, if you need more sophisticated layout, sorting etc. then it's back to rolling your own or using a dumper, but sometimes you just want a quick check. Currently I would use the "@{[ %hash ]}", but a simpler syntax would be good if it could be made to work.

    No biggy, but the thought crossed my mind.

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://634008]
[stevieb]: I don't know what you mean. I write the code in C/C++ that accesses the ICs per the datasheet, wrap it for Perl, then use them. My code ensures that the functions/methods from Perl do the right thing for the chips/sensors etc
[stevieb]: At least that's what I'm working on right now. I've also been updating my automated test software Test::BrewBuild so it handles this work properly. It's not really easy meshing high level languages with low-level hardware :)
[stevieb]: this link is probably better for an overview of my test software

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2017-06-25 23:15 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (572 votes). Check out past polls.