Re: CPAN install directory usage

2009-07-01 Thread Chris Wagner
There should not be stars in front of any of the Perl statements. Although I don't think that is the main problem here. If it can find Tk.pm it should be able to find Events.pm. U'll need to go into the Tk directory and manually verify the presence and permissions of all the files Tk needs. Inst

Re: Archive::Zip problem

2009-07-01 Thread Chris Wagner
read( $fileName ) Read zipfile headers from a zip file, appending new members. Returns AZ_OK or error code. my $zipFile = Archive::Zip->new(); my $status = $zipFile->read( '/some/FileName.zip' ); At 10:06 AM 7/2/2009 +0530, Kprasad wrote: >Hi All >I've simple perl pro

Re: Archive::Zip problem

2009-07-01 Thread Sisyphus
- Original Message - From: "Kprasad" #!/usr/bin/perl use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); # imports #mkdir "c:/onfly"; my $localdir="c:/onfly"; ## I've two zip files i.e., first.zip and second.zip which respectively contains 3 files and two files and after extraction 'c:/

Archive::Zip problem

2009-07-01 Thread Kprasad
Hi All I've simple perl program which should be used to extract two .zip files at the same time. Directory for unzipping will be the name of individual zip file. Problem: First zip's content extract perfectly but after unzipping Second zip it contains the files of first zip too. I've two zip file

Re: CPAN install directory usage

2009-07-01 Thread Kenneth Ă–lwing
> The Tk package is installed in the vob release of perl. > > Please check the following path: /vobs/vob_verif/tools/Perl/lib/Tk.pm > You're using ClearCase, and this is a Unix path, and further, it is a path only relevant after a 'cleartool setview' has been done. Neither the path nor setvi

RE: CPAN install directory usage

2009-07-01 Thread Brian Raven
From: Perl Perl [mailto:perl.solut...@gmail.com] Sent: 01 July 2009 14:37 To: Brian Raven Cc: perl-win32-users@listserv.activestate.com Subject: Re: CPAN install directory usage > Hi Brian Raven, > > I don't know by which way my system admin has install the module. Here my task is

Re: CPAN install directory usage

2009-07-01 Thread Chris Wagner
Hi. The first thing u need to do is manually check what directory Tk.pm is in. Do a search if necessary. So if Tk.pm is located in V:\x\y\z\Tk.pm, put `use lib "V:/x/y/z";` at the top of ur script. That should be all u need. If that doesn't work then there could be permissions issues. Let us

Re: CPAN install directory usage

2009-07-01 Thread Perl Perl
Hi Brian Raven, I don't know by which way my system admin has install the module. Here my task is to use that module in my script. I forgot to add one more thing in the last mail. I have received a mail saying TK.pm is installed in below path. But I am not getting how to use the same

RE: CPAN install directory usage

2009-07-01 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Perl Perl Sent: 01 July 2009 13:24 To: perl-win32-users@listserv.activestate.com Subject: CPAN install directory usage > Hi All, > > I have one doubt, about usage

CPAN install directory usage

2009-07-01 Thread Perl Perl
Hi All, I have one doubt, about usage of CPAN install diretory at Windows side. I have found that TK module is install at "*C:/Perl/site/lib C:/Perl/lib" .* but confuse with the usage part. Please find the sanpshot from the screen as below. V:\view_MAIN\vob_verif>perl -MTk -e 1 Can't locate

DMI BIOS information

2009-07-01 Thread rocku
Hi, I'm working on a script which will be responsible for gathering various hardware information. Most of it I would like to get from BIOS's DMI. However, I cannot find a way to access this kind of data from withtin Perl, nor do I have a suitable CLI tool to report this kind of information. Und