try the CPAN module's shell when installing modules for *nix
$ perl -MCPAN -e shell
> -Original Message-
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: Error installing Perl Module on Linux - make and cc
>
>
> > RE: Sending mail to SMTP server from Perl scriptI was wo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
there are ways to do it yourself using pack(), but the
way i usually do this is to use the "Deurl.pm" module...
a lightweight module that handled the decoding of
"URL-ized" strings and stuff...
it supports a bunch of options, deurl-ing to hash,
as i
read the PHP manual.
this is untested code, but something akin to this will fetch the
results of a CGI script
$fp = fopen('http://server.com/blah.cgi?var1=Y&var2=Z', 'r');
while ( $data = fread($fp, 1024) ) {
print $data;
}
fclose($fp);
-Original Message-
From: [EMAIL PROTECTED]
well, not exactly what you asked for, but if you're
running a linux box anywhere, try installing Inline.pm
you can write C/C++ code inline with perl code.
very neat, although i dont think it runs
correctly with Win32 yet (since compilers and
make utilities are definately not standard
fare on mos
i dont know about being 100% bulletproof (realistically
speaking, what is?), but a combination of PID and
time (in seconds since epoch) should be reasonably
unique for almost any website... and since you're
having trouble with the uniqueness of pid's
perhaps you could play around with adding rando
write a script to list out all your %ENV variables
and call it from a web browser.
Here's what my server spits back at me:
SERVER_SOFTWARE = Apache/1.3.14 (Unix)
GATEWAY_INTERFACE = CGI/1.1
DOCUMENT_ROOT = /home/furt.com/web
REMOTE_ADDR = 24.188.176.167
SERVER_PROTOCOL = HTTP/1.1
SERVER_SIGNATU
if the
user supports HTML email, you could use an HTML TABLE
i am
not too familiar with perl format strings, but you could also use one of
those:
http://www.perldoc.com/perl5.6/pod/func/format.html
format Something
= Test: @ @|
@>
$str,