Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: Duplicate variable returned from sub

by AnomalousMonk (Archbishop)
on Sep 23, 2019 at 22:07 UTC ( [id://11106602]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Duplicate variable returned from sub
in thread Duplicate variable returned from sub

... where the undef would need to be ...

What do you need to do? Assignment to undef in this way will "swallow" an item from the list returned by the function call; you will see it no more. Which item do you need to get rid of?

But Your Mother is right: Fix this code, don't patch it; it's an accident waiting to happen.


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found