Re: perl module not found.

2009-02-02 Thread Ralf Peng
2009/2/2 Alf Stockton a...@stockton.co.za: When trying to install an application written in perl I get the error message CSS::Squish = 0.06...MISSING so I then attempt installing it via perl -MCPAN -e shell cpan install CSS::Squish but when I attempt r...@general:~# perl -MSquish

Re: a question related to file selection

2009-01-23 Thread Ralf Peng
2009/1/23 Li, Aiguo (NIH/NCI) [E] l...@mail.nih.gov: Hi all, I need copy files from a directory daily to a folder. How can I select files based on dates that were created? for copying a file, use File::Copy: http://search.cpan.org/~nwclark/perl-5.8.9/lib/File/Copy.pm to get file's last

Re: use vs require

2009-01-22 Thread Ralf Peng
2009/1/23 ben perl ben.pe...@gmail.com: Hi Chas, Can you give me an example when one would be used over the other? So, is require used more for efficiency, so we load the module only if we need it? Thanks, -Ben Many time we need 'require' not 'use'. For example, given this .pm: package

Re: How and from where to install perl 5.10 on unix (solaris) m/c?

2009-01-14 Thread Ralf Peng
2009/1/15 Sarsamkar, Paryushan psars...@ptc.com: Hi All, I would like to install Perl 5.10 on UNIX (Solaris) machine. There is 5.0 and 5.6 version of Perl on that machine, but it does not have DBI module that I want. Can anyone please help me in this regard? rather than installing Perl

Re: external program control

2009-01-11 Thread Ralf Peng
2009/1/11 bft b...@bft1.org: Hello all, I am trying to launch an instance if Firefox, but I do not want my Perl script to stop while Firefox is open. I have tried: print `firefox`; and print `firefox `; Both hang my perl script until I close firefox. Any suggestions please? maybe

Re: Send email using smtp

2009-01-06 Thread Ralf Peng
2009/1/6 FĂșlvio fulvi...@gmail.com: Hi Jenda, I try to debug the code and the error message was: Bad file descriptor. I will try to use the other modules. I need only send an email. If you are not familiar with SMTP protocal (RFC 821), you are hard to use Net::SMTP. I'd suggest you use