Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: warning! -- Why?

by Athanasius (Archbishop)
on May 12, 2022 at 07:14 UTC ( [id://11143812]=note: print w/replies, xml ) Need Help??


in reply to warning! -- Why?

Another option is to replace and with a comma:

: ( $used_options{ $1 } = 1, "\${$1}" )

which removes the warning.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: warning! -- Why?
by jwkrahn (Abbot) on May 12, 2022 at 19:09 UTC

    Thanks. It is also about 15% faster than using do { ... } !

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-20 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found