Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Validating the contents of scalars using an array based list

by Super Monkey (Beadle)
on Apr 03, 2003 at 17:28 UTC ( [id://247818]=note: print w/replies, xml ) Need Help??


in reply to Validating the contents of scalars using an array based list

Because you have to check for all null values, you will have an O(n) solution. I don't think you can improve much on you approach, other than rolling some step together into one liners. Check out splice(), it could simplify the parameter to scalar assignments for you.
  • Comment on Re: Validating the contents of scalars using an array based list

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-20 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found