RE: Formatting integer input: use the sprintf() in perlfunc - Perl builtin functions

2003-08-26 Thread Shaw, Matthew
whenever you need to do any special formatting like this, especially numbers, use the sprintf() in perlfunc - Perl builtin functions for your case, try this: print sprintf(%05.02f\n, 4.5 ); 04.50 Why not just use 'printf()' for this? Makes it somewhat less confusing while doing

Re: Counter triggered on download

2003-08-26 Thread fliptop
On Sun, 24 Aug 2003 at 03:04, zsdc opined: z:fliptop wrote: z: z: merrill - i'm a little late on this thread, and the other suggestions are z: valid, but here's one way to serve up files w/o using a direct link by z: taking advantage of CGI.pm's header() function: z: z: my $cgi = new CGI; z:

Re: Counter triggered on download

2003-08-26 Thread fliptop
On Tue, 26 Aug 2003 at 00:31, Octavian Rasnita opined: OR:This is a pretty good method, but it is not so good because the OR:visitors won't be able to use a Download manager to download the file. OR:Or better said, they won't be able to resume the download. true, however the original poster

Net::FTP or similar

2003-08-26 Thread Andrew Brosnan
Hello, Has anyone used Net::FTP to create a browser based FTP client? (I assume that's one use for it) I have a client that needs to let their clients transfer files to and from their server. Some of the files may be big (30-40MB) and using a regular FTP client isn't an option, unfortunately.

Installing/Uninstalling CPAN modules

2003-08-26 Thread Greenhalgh David
This may be the wrong forum to ask this... How do I uninstall a module downloaded from CPAN? Specifically, I cannot get the DBD::MySQL driver to install under OS X. It refuses to find the mysql_config file, and when I run Makefile again with the -L and -I switches it won't work after install.

RE: Net::FTP or similar

2003-08-26 Thread wiggins
On Tue, 26 Aug 2003 15:06:08 -0400, Andrew Brosnan [EMAIL PROTECTED] wrote: Hello, Has anyone used Net::FTP to create a browser based FTP client? (I assume that's one use for it) I have a client that needs to let their clients transfer

Re: Installing/Uninstalling CPAN modules

2003-08-26 Thread Greenhalgh David
You may have better luck in the [EMAIL PROTECTED] list since OS X likes to do all kinds of weird things with its Perl, and with regards to DBI/DBD in [EMAIL PROTECTED] Typically removing a Perl module is not as easy as installing them, removing the associated files is only one step... Sorry

RE: Installing/Uninstalling CPAN modules

2003-08-26 Thread wiggins
On Tue, 26 Aug 2003 19:20:03 +, Greenhalgh David [EMAIL PROTECTED] wrote: This may be the wrong forum to ask this... How do I uninstall a module downloaded from CPAN? Specifically, I cannot get the DBD::MySQL driver to install under OS