how to read binary files in perl

2003-01-29 Thread HK
hi all, i am a newbie to perl. I have an application in C which will dump statistics (C structures) into log files for post processing. Can i read those log files from perl and form equivalent structures which will help in analysing the files and generate a report on the statistics. TIA. -- reg

RE: Random Access Numbers

2002-01-17 Thread Groenwold, Harmen (ICT) (HK)
Hi, if you just want random numbers, there is a very simple function: RAND. Works like this: #!perl -w use strict; my ($varNumber); $varNumber = rand; print "Random number is: ", $varNumber,"\n"; Harmen Groenwold [EMAIL PROTECTED] -Original Message- From: Naveen Parmar [mailto:[EMAIL PR

All files in a directory tree

2002-01-14 Thread Groenwold, Harmen (ICT) (HK)
L.S., I'm looking for a simple way to get all files in a directory and all it's subdirectories on Win32. For instance, the directory structure looks like this: c:\temp\ file01.txt file02.txt c:\temp\subdir01 subdirfile01.txt c:\temp\subdir01\subdir02\

newbie: CPAN module usage.

2001-05-09 Thread SS HK
Hi, I would like to install some of the CPAN modules. How can I do that. I am using ActivePerl on Windows. Any pointers would be greatly helpful. regards, inssic. __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http:/