Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Use of implicit split to @_ is deprecated

by Abigail-II (Bishop)
on Jun 04, 2004 at 15:13 UTC ( [id://360936]=note: print w/replies, xml ) Need Help??


in reply to Use of implicit split to @_ is deprecated

Is there a way to make this cleaner? I'm assuming he went this way for a reason instead of using length().

If there's a hidden reason for doing it this way, how should be know whether there's a cleaner way? Any other way may break the hidden reason.

I've managed to clean up all but two lines of code, which are being used in a peculiar way.
Well, if you have cleaned up all but two lines of the code, you should know whether there's reason the previous coder did it the way he did.

I'd just use length.

Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-18 17:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found