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

Re: I don't understand a piece of this code (What is qw()? How does qw() work?)

by Anonymous Monk
on Jun 18, 2012 at 03:30 UTC ( #976730=note: print w/replies, xml ) Need Help??

in reply to I don't understand a piece of this code

Remember I am geting an unhelpful error message. Not sure how to debug it. ?

Remember Tutorials: Basic debugging checklist , brian's Guide to Solving Any Perl Problem?

Second verse, same as the first, go fishing :)

To see if your code is what you thought it was, use B::Deparse

$ perl -MO=Deparse,-p crates ($what = '[box]'); foreach $_ (('in[box]', 'out[box]', 'white[sox]')) { if (/\Q$what\E/) { print("$_ matched!\n"); } } crates syntax OK

Hopefully that code you should recognize ( perlintro if you don't)

For a word explanation see perlop#Quote and Quote like Operators, qw/STRING/, Quote and Quote-like Operators, Modern Perl pdf page 35 :)

I don't know how to stop this site from interpolating (correct word?) the brackets.

use code ( <c>[box]</c> ) tags or html enities, see PerlMonks FAQ, Markup in the Monastery

See also How do I compose an effective node title?, an effective title might "What is qw()?" or "How does qw() work?"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://976730]
[Corion]: marto: Heh - I think that's a nice contractual trap, "you will not use other gods/engines besides ours" ;)
[Corion]: But if the base intention was to have CIG as "co-developers" who (have to) contribute changes back to the mainline, it makes sense to have them use no other engine
[marto]: yes, I hear that development house has been on its last legs for a couple of years now
[Corion]: Is anybody aware of what makes Android Oreo better than Android Nougat? I'm not sure if the architectural changes (etc) are there already that make upgrading an Oreo-kernel phone to a newer Android userland (Lineage OS) version feasible
[Corion]: Yeah, CryTek got blindsided (or whatever) by Unity and Unreal Engine being zero cost, and the CryTek documentation being bad/nonexistent I think
[Corion]: "zero monetary cost", because of course, it's gratis only if your time has no value :)
[marto]: I used to keep up to date with my android ROMs, updating to the nightly every other day
[marto]: in my experience the jump in major releases has been painless, and performed better

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-12-14 10:39 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (389 votes). Check out past polls.