Hi gurus,
I want to read the STDIN as an input and I process the input whose
output can be single field or multiple fileds which I want to store in
variables. Based on that condition I want to perform two things, may be using
sub-routines. Inside the sub-routine, if I try to refer to
Hi All,
I am working on the following output.
* /ebppvobstore/vobs/Core /ebppvobstore/vobs/aci.vbs public
* /ebppvobstore/vobs/UCMCQ /ebppvobstore/vobs/UCMCQ.vbs public (ucmvob)
/ebppvobstore/vobs/Comp_Care /ebppvobstore/vobs/Comp_Care.vbs/ public
I want to check for the asterisks and
All,
I want to remove files which are older than 2 days. Is there any easy way
to do that perl (high level syntax, please) ? or do I 've to get the date from
the time stamp of the file and compare with current date to remove them. In UNIX
I use mtime with find command.
I would appreciate
All,
I am looking for a way to send the output of a logfile using
Mail::Sendmail. Is that possible? If so can some body give me a high level
syntax.
Thanks in advance,
Kailash
ng to use perl Archive::Tar utility to tar the files. Can I
not just use the Compress utility of perl without Archive::Tar if it
is better that UNIX gzip ?
Thx
Kailash
From: [EMAIL PROTECTED] AT INTERNET on 05/09/2001 12:23 PM
To: Kailash Subramanian/ATL/ALLTELCORP
cc: [EMAIL PROTECTE
Hello,
Can somebody advice on whether to use UNIX gzip or the perl Compress::Zlib
for compressing a tar file. If it is going to be Compress::Zlib, I would
appreciate if somebody can give me a basic syntax.
Thx
Kailash
All,
What is the best way to create a tar archive using Archive module for a
large directory structure with some 5000 files ? Currently I am using UNIX tar
for this.
Do I read all the files and directory and then use Archive module to tar them?
If anybody can give me an idea for the syntax
Kailash
From: [EMAIL PROTECTED] (Curtis Jewell) AT INTERNET on 05/02/2001
05:16 PM
To: Kailash Subramanian/ATL/ALLTELCORP
cc: [EMAIL PROTECTED] AT INTERNET@CCMAIL
Subject: Re: Compile error
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 2 May 2001, Kailash Subramanian wrote
Utils/MakeMaker.pm line 507
But I see the module.
$ ls -l /opt/perl5/lib/5.6.1/PA-RISC1.1/File
total 26
-rw-r- 1 vobadm nfsgroup 12808 Apr 14 07:48 Glob.pm
Thx
Kailash
From: [EMAIL PROTECTED] (Curtis Jewell) AT INTERNET on 05/02/2001
05:09 PM
To: Kailash Subramania
But I see the module.
$ ls -l /opt/perl5/lib/5.6.1/PA-RISC1.1/File
total 26
-rw-r- 1 vobadm nfsgroup 12808 Apr 14 07:48 Glob.pm
Thx
Kailash
From: [EMAIL PROTECTED] (Casey West) AT INTERNET on 05/02/2001 03:31
PM
To: Kailash Subramanian/ATL/ALLTELCORP
cc: [EMAIL
All,
When I run this command, I get the following error message.
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Can't locate loadable object for module File::Glob in @INC (@INC contains:
/opt/perl5/lib/5.6.1/PA-RISC1.1 /opt/perl5/lib/5.6.1
/opt/perl5/lib/site_perl/5.6.1/
All,
I am trying to install a perl module on HP-UX. So when I run the following
command I am getting an error as shown below. I know that perl is looking under
wrong dir for this module. I am trying to use my own perl under my home dir.
There is also another perl installation directory und
Is there any special tar utility in perl ? I want to tar up some dirs/files in
unix and I want to use the inbuilt tar utility inside perl script, if any ? If
so, can somebody provide some pointers to it.
Thx
Kailash
All,
I am writing a small perl script which is included below. I 've a problem
with this line
my $prjstream = `cleartool lsstream -in @prjname[1]\@$ucmvob | grep Int` ;
It doesn't recognise $ucmvob in this command.
But if I replace the variable $ucmvob with the string "/ebppvobstore/vobs
All,
When I use strict function, I get an error in the following code.
#!/usr/local/bin/perl
use strict ;
my @vob_list = `cleartool lsvob | grep "*"`;
my $entry ;
foreach $entry (@vob_list) {
chomp $entry;
my @fields = split /\s+/, $entry;
my $tag_list ;
my $vbs_list ;
@tag_list = @fields[1
All,
I 've an output from the system comand as follows.
* /xxx/ /yyy/
* /www/ /vvv/
* /uuu/ /ttt/
:::
I want to parse this output into an array and split them and process each
entry. Essentially, I want to parse the output of a command to an a
16 matches
Mail list logo