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
The backticks work just as they would in a shell script. You're using them
the wrong way in your example, anyways.
my $output = `command param`;
my $rc = system('command', 'param'
From: Rajini Nai
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.
>
>
> > > 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,
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]
23 matches
Mail list logo