i have been working on perl so far..
wanted to give php5 a shot..
i am using ubuntu edgy eft..
i got mysql and apache2 and php working..
but when i try to use mysql_connect() in a php script..
it gives me an error
"Fatal error: Call to undefined function mysql_connect()"
I then did
sudo...
I would like to time few perl statements and then re-run them if they exceed a fixed amount of time.
eg.
{
foreach $var(@somearray)
{
print $var;
}
}
What i want to do is time this block and if this block exceeds more than say 10 minutes to run, I...
Cant understand this strange behavior with math.h.
<code>
#include<math.h>
int main()
{
double t = log10(10);
return 1;
}
</code>
works fine
but
<code>
#include <math.h>
int main()
{
double t1=10;
double t = log10(t1);
return 1;
}
</code>
gives the following error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.