Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 20th, 2001, 10:35 AM
BillyL BillyL is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 2 BillyL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Benchmarks and Ghost Packages

I have two questions,1 is about benchmarks,and the other is about OOP and deleted packages.
1)How do I get the ammount of time,and the number of queries it took to generate a dynamic page.I am pretty sure this can be done by benchmarks,but how?
2)Ghost packages
install.cgi:

Code:
#!/usr/bin/perl
$code = CGI->new->param("code");
if(! $code) {
print <<NAHNAH
<form action=install.cgi method=POST><input type=hidden name=code value=001>
<input type=text name=path>
<input type=submit value=install> 
NAHNAH
                }
if($code=001) {


package tB;
$tB:ath = CGI->new->param(path);
package main;
print "Done installing,click <a href=admin.cgi?A=1>here to access the admin cp and delete this file</a>";
exit;
                      }
else {
print "Use this correctly";
exit;


Will the values set here for package tB still work in other files if the file is deleted?

Reply With Quote
  #2  
Old July 22nd, 2001, 10:33 AM
BillyL BillyL is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 2 BillyL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
*bump*

Reply With Quote
  #3  
Old July 22nd, 2001, 11:16 AM
Hero Zzyzzx's Avatar
Hero Zzyzzx Hero Zzyzzx is offline
11
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2001
Location: Lynn, MA
Posts: 4,635 Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 23 h 44 m 19 sec
Reputation Power: 77
Send a message via AIM to Hero Zzyzzx
*ignore*

Reply With Quote
  #4  
Old July 22nd, 2001, 11:54 AM
BillyL BillyL is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 2 BillyL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
*leaves and doesnt come back*

Reply With Quote
  #5  
Old July 22nd, 2001, 12:12 PM
Hero Zzyzzx's Avatar
Hero Zzyzzx Hero Zzyzzx is offline
11
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2001
Location: Lynn, MA
Posts: 4,635 Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 23 h 44 m 19 sec
Reputation Power: 77
Send a message via AIM to Hero Zzyzzx
I realize the "ignore" response is a little terse. Sorry.

But am I the only one that thinks if you don't get an answer to your question that you don't have the right to "bump" it to the top again?

Not getting an answer is probably a symptom of:
  1. Not asking your question well,
  2. Asking a question in a way that shows you've done no research whatsoever of your own,
  3. And that you should do 1 and 2, and then ask again later.


I mean, that's the great thing about open-source development, that you have everything you need available for free to learn it!

I'd much rather help folks that want to learn something than people who just want an answer at any cost. A simple google search for "benchmark and perl" would've turned up droves of info.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Benchmarks and Ghost Packages


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT