Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: What am I breaking?

by perl-diddler (Chaplain)
on May 10, 2019 at 02:42 UTC ( [id://1233546]=note: print w/replies, xml ) Need Help??


in reply to Re: What am I breaking?
in thread What am I breaking? (solved - double unquoting needing 'qw')

Hitting the nail askance you did!

This should replace the table and results in 0 errors/everything working:

our @num2nam = ( [ qw(zero 0 )], [ qw(one '0.0.5')], [ qw(two '0.1.1')], [ qw(three 0.000005)], [ qw(four 0.000101)], [ qw(five 0.0.5)], [ qw(six 0.1.1)], [ qw(seven 1.10)], [ qw(eight 1.5)], [ qw(nine 0.1.5)], [ qw(ten 0.1.10)], [ qw(eleven '000005')], [ qw(twelve '001010')], [ qw(thirteen 3.0014)], [ qw(fourteen 3.1)], [ qw(fifteen '3.0014')], [ qw(sixteen '3.1')], );
Those items were being dequoted twice, so the ones that need to be quoted had to be quoted twice, and the ones that didn't still needed quoting once.

Thanks for the hint!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2026-04-12 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.