T.David's Script ShopTD's Corkboard - Random Perl Notes

CGI code snippets - my musings aloud ...

Random Numbers  - the code below picks a number between 0 and 100 and stores in the $random scalar and then prints it

srand;
$random = int(rand(100));
print "$random number between 0 and 100";

Crontab - a useful how-to reference page

Telnet Tidbits - useful during telnet sessions

Amount of storage space used, type du -s   /home/username

[ home ] [ write TDavid ] [ tdkeno ] [ links ]

Copyright 1999-2007 TDscripts.com All Rights Reserved