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

Re^2: Spotting an empty array as argument

by Chuma (Scribe)
on Mar 26, 2021 at 14:25 UTC ( [id://11130386]=note: print w/replies, xml ) Need Help??


in reply to Re: Spotting an empty array as argument
in thread Spotting an empty array as argument

Ha, there's certainly an easy solution! It doesn't address the more general problem, but for this particular purpose it does the job. Thanks!

The only thing slightly off here is that "saying" an empty list still makes a newline. You'd think getting n newlines for n outputs shouldn't be that hard, but anyway, close enough.

  • Comment on Re^2: Spotting an empty array as argument

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found