Hi All
Today I was trying to do some work with perl and needed to use a
function that would trim leading or trailing spaces from a string.
Looked on the web and found basicaly perl uses either chop or chomp each
with their own features.
When I tried to apply it to my $var it either return
Hi all
IM trying to install the DBI module from CPAN (the recommended "live"
install)
perl -MCPAN -e "install Bundle::DBI"
Goes through gyrations of installing
"
Going to read \.cpan\sources\authors\01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read \.cpan\sources\modules\02packages
use Time::localtime;
$b = localtime->year() +1900 ;
print "What year were you born in?\n";
$a = ;
chop($a);
$age = ($b - $a) ;
print "You are $age years old!\n";
--
Date: August(VIII) 12th(XII),2002(MMII)
!!
!
http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Mailing_Lists/
Gary Hawkins wrote:
>Before I write one, is there already a mailing list script that would
>handle subscribe/unsubscribe with emails for confirmation? User enters
>email address on a web page and clicks subscribe or unsubscri
Hi All
Im wondering how does one know what modules are available?
Is there a master list with accompanying methods?
Or is CPAN the only source?
http://cpan.org/
Sometimes CPAN seems much too cryptic for a beginner(at least from my view).
So basically Im asking is there a more (beginner) fr
James Campbell wrote:
>Hi all
>
>Dumb question but... Does anyone know how to print a perldoc page displayed
>in the Windows DOS prompt?
>
>
>
How about
perldoc -f flock > your_file_lock.txt > LPT1
rob
--
Civilization is the process of reducing the infinite to the finite.
--
To