Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Improving the efficiency of this piece of code

by unixwzrd (Beadle)
on Feb 25, 2001 at 06:03 UTC ( [id://60711]=note: print w/replies, xml ) Need Help??


in reply to Improving the efficiency of this piece of code

One thing off the top of my head would be to do a:
my $page = param('page');
before the condition tests. That way you only make one call to param.

Mike - mps@discomsys.com

"The two most common elements in the universe are hydrogen... and stupidity."
Harlan Ellison

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-03-28 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found