Rajini Naidu wrote:
On Tue, Jul 14, 2009 at 5:02 PM, John W. Krahn wrote:
Rajini Naidu wrote:
I have the below commands in the script.
`$swlist -l bundle -a revision -a architecture -s $t | $grep $n >>
$log_our_depot`;
`$swlist -l bundle -a revision -a architecture -s $t | $grep $n >>
$log
Rajini Naidu wrote:
> `$swlist -l bundle -a revision -a architecture -s $t | $grep $n >>
> $log_our_depot`;
> `$swlist -l bundle -a revision -a architecture -s $t | $grep $n >>
> $log_ourdepot_comp`;
> Here I am outputting the same command line output to different
> logfile.
Why not use tee(1)?
Rajini Naidu wrote:
Hi,
Hello,
I have the below commands in the script.
`$swlist -l bundle -a revision -a architecture -s $t | $grep $n >>
$log_our_depot`;
`$swlist -l bundle -a revision -a architecture -s $t | $grep $n >>
$log_ourdepot_comp`;
Here I am outputting the same command line ou
beginners@perl.org
Date: 07/14/2009 11:41 AM
Hi,
I have the below commands in the script.
`$swlist -l bundle -a revision -a architecture -s $t | $grep $n >>
$log_our_depot`;
`$swlist -l bundle -a revision -a architecture -s $t | $grep $n >>
$log_ourdepot_comp`;
Here I am outputting the same command line output to different logfile.
Is th
On Fri, Jun 5, 2009 at 14:24, Chas. Owens wrote:
snip
> what line is line 371?
snip
Nevermind, it is obvious:
open my $pipe, "-|", "/usr/atria/bin/cleartool", "desc",
$include_path/$srcfile or die "could not run cleartool: $!";
$include_path is being divided by $srcfile. The code should probab
On Fri, Jun 5, 2009 at 13:57, Rajini Naidu wrote:
> Thanks owens for the response
>
> This code is included in our testing infrastructure to extract some data.
>
> Please find the code included in the perl module :
>
> print SCRIPT "${d}${driver} ${d}${driver}_OPTIONS ${d}DATA_MODE_FLAG
> ${d}\{
Thanks owens for the response
This code is included in our testing infrastructure to extract some data.
Please find the code included in the perl module :
print SCRIPT "${d}${driver} ${d}${driver}_OPTIONS ${d}DATA_MODE_FLAG
${d}\{CTI_OPT_SIGN\}O${d}OPT_LEVEL -c \$INCLUDE $srcfile \$EXTRA_ARGS
On Fri, Jun 5, 2009 at 07:37, Rajini Naidu wrote:
> Hi,
>
> This is my code in perl.
>
> my $include = "foo.1";
> my $ct = "/usr/atria/bin/cleartool";
>
> open my $pipe, "-|", $ct, "desc", $include or die "could not run cleartool:
> $!";
>
> When i execute this , I am getting below error.
>
>
Hi,
This is my code in perl.
my $include = "foo.1";
my $ct = "/usr/atria/bin/cleartool";
open my $pipe, "-|", $ct, "desc", $include or die "could not run cleartool:
$!";
When i execute this , I am getting below error.
meaningless input.
Uncaught exception from user code:
Il
> > > The input for the EXE has to be taken from the
> file provided by the
> > > user.AndThe EXE shud get invoked by just
> dragging and dropping the
> > > input file on the EXE.
> > >
> > > Assume, the input file is some text file
> containing some raw data.
> > >
> > > How should this be done?
>
On 12/7/06, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
From: "Dharshana Eswaran" <[EMAIL PROTECTED]>
> Now suppose, a EXE for the Perl Program is created in Windows.
>
>
> The input for the EXE has to be taken from the file provided by the
> user.AndThe EXE shud get invoked by just dragging and d
From: "Dharshana Eswaran" <[EMAIL PROTECTED]>
> Now suppose, a EXE for the Perl Program is created in Windows.
>
>
> The input for the EXE has to be taken from the file provided by the
> user.AndThe EXE shud get invoked by just dragging and dropping the
> input file on the EXE.
>
> Assume, the i
On 12/5/06, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
From: "kilaru rajeev" <[EMAIL PROTECTED]>
> Jenda,
>
> I got a doubt here. Suppose the file does not contain any thing perl
> code. If it contains only some data for configuration, is it possible
> to include by using 'require' ?
>
> Rajeev
From: "kilaru rajeev" <[EMAIL PROTECTED]>
> Jenda,
>
> I got a doubt here. Suppose the file does not contain any thing perl
> code. If it contains only some data for configuration, is it possible
> to include by using 'require' ?
>
> Rajeev
Depends on the format. But if it's not Perl why does it
Jenda,
I got a doubt here. Suppose the file does not contain any thing perl code.
If it contains only some data for configuration, is it possible to include
by using 'require' ?
Rajeev
On 12/5/06, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
From: "Dharshana Eswaran" <[EMAIL PROTECTED]>
> > Anyw
From: "Dharshana Eswaran" <[EMAIL PROTECTED]>
> > Anyway .. if you run the main.pl it works, right?
>
>
> Yeah, mail.pl works
>
> If you run the created EXE in the same folder what does it do?
>
>
> The created EXE in the same folder works
>
> If you run it from a different folder?
>
>
> >F
On 12/4/06, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
> > You are making it harder for yourself than you have to. Don't ZIP
> > anything ...
> >
> > pp -o main.exe main.pl
> >
> > should be enough. And if the pp doesn't notice your main.pl uses
> > subroutineX.pl then try
> >
> >
> > You are making it harder for yourself than you have to. Don't ZIP
> > anything ...
> >
> > pp -o main.exe main.pl
> >
> > should be enough. And if the pp doesn't notice your main.pl uses
> > subroutineX.pl then try
> >
> > pp -o main.exe main.pl subroutine*.pl
> >
> > Jenda
>
>
On 12/4/06, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
From: "Dharshana Eswaran" <[EMAIL PROTECTED]>
> Hi Randal,
>
> I am trying to generate an exe file from few perl programs.
>
> I have 4 files which are main.pl, subroutine1.pl, subroutine2.pl and
> subroutine3.pl.
>
> main.pl file is the main
From: "Dharshana Eswaran" <[EMAIL PROTECTED]>
> Hi Randal,
>
> I am trying to generate an exe file from few perl programs.
>
> I have 4 files which are main.pl, subroutine1.pl, subroutine2.pl and
> subroutine3.pl.
>
> main.pl file is the main program and it depends on the other
> subroutine file
Hi Dharshana,
Just Zipping the file will wont work. You have to include them in program
with 'use" or 'require'. Try to do that.
Rajeev
On 12/1/06, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:
Hi Randal,
I am trying to generate an exe file from few perl programs.
I have 4 files which are m
Hi Randal,
I am trying to generate an exe file from few perl programs.
I have 4 files which are main.pl, subroutine1.pl, subroutine2.pl and
subroutine3.pl.
main.pl file is the main program and it depends on the other subroutine
files for data.
So i tried zipping it using winzip and ran
pp -o
> ""Dharshana" == "Dharshana Eswaran" <[EMAIL PROTECTED]> writes:
"Dharshana> I am in search of a way to convert Perl Program to EXE file. So
that it can
"Dharshana> be run anywhere even without installing Perl.
See "PAR" in the CPAN.
--
Randal L. Schwartz - Stonehenge Consulting Services,
Hi All,
I just have a query in Perl.
I am in search of a way to convert Perl Program to EXE file. So that it can
be run anywhere even without installing Perl.
I searched the net and had mailed the beginners mailing list which suggested
me a few tools like Perl2exe or Perl_Dev_Kit to do the sam
(redirected to Perl Beginners by James)
Begin forwarded message:
From: atul ashpalia <[EMAIL PROTECTED]>
Date: January 28, 2004 4:18:13 AM CST
To: [EMAIL PROTECTED]
Subject: Perl Query
hi there,
i am a beginner in perl and have done some basic
exercises in perl covering fundamentals, refe
There are loads of ways of doing this (Perl being what it is), but to help
you with the grep, how did you call it within Perl?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Folks
I am new to perl and would like to be pointed in the right direction.
I need to search for an ip number stored in a file/files at /home/www/*
I tried
grep -i 'russ' /home/www/* but it did not work. Please point me to the tutorial or some othe site that will help me.
cheers
marty
--
28 matches
Mail list logo