Hello peter,
Can you part of the xml file?
On 5/5/12, S Peter wrote:
> Hi
>
> I am S. Peter, a beginner in Perl program, working in XML files. I have a
> xml files with the following coding.
>
> "$N$"
>
> I require a small script in perl to open any xml file and just copy and
> write only the co
On 5/5/2012 5:42 AM, S Peter wrote:
Hi
I am S. Peter, a beginner in Perl program, working in XML files. I have a xml files with the following coding.
"$N$"
I require a small script in perl to open any xml file and just copy and write only the command starts with " in a new file.
If
On Sat, May 5, 2012 at 2:42 AM, S Peter wrote:
> Hi
>
> I am S. Peter, a beginner in Perl program, working in XML files. I have a xml
> files with the following coding.
>
> "$N$"
>
> I require a small script in perl to open any xml file and just copy and write
> only the command starts with " in
Hi
I am S. Peter, a beginner in Perl program, working in XML files. I have a xml
files with the following coding.
"$N$"
I require a small script in perl to open any xml file and just copy and write
only the command starts with " in a
new file.
If a xml file consists of any numbers of
hai shawn
yes this is what i am looking for..
glob( '~/.bash_history' )
now the query is working.
thank you for ur reply
Chaitanya
On Tue, May 18, 2010 at 8:18 PM, Shawn H Corey wrote:
> On 10-05-18 10:27 AM, Chaitanya Yanamadala wrote:
>
>> ok is it so..
>> thank you so i think i can do one
hi,
system command is only used to run the command and check its success
based on the exit status.
system ( "history ") == 0 or die " failed";
if you want to capture the output of system command use
my $OUTPUT=`history`;
print $OUTPUT;
you can find more details at
perldoc -f system
--
Re
On 10-05-18 10:27 AM, Chaitanya Yanamadala wrote:
ok is it so..
thank you so i think i can do one thing like open the file ~/.bash_history
and then read the file..
actually i am trying this alternative..
but there is some error..
when i give it like
open(DAT, "~/.bash_history")or die("Cannot ope
e has no history to report.
>
> Bob McConnell
>
> -Original Message-
> From: Chaitanya Yanamadala [mailto:dr.virus.in...@gmail.com]
> Sent: Tuesday, May 18, 2010 10:20 AM
> To: Bob McConnell
> Cc: beginners@perl.org
> Subject: Re: help in perl script
>
> dear Bob
&g
: beginners@perl.org
Subject: Re: help in perl script
dear Bob
if my current shell does not have any history then how come i am getting
the history when i run the same in the terminal??
from where i am getting this history.
Chaitanya
On Tue, May 18, 2010 at 7:03 PM, Bob McConnell wrote
dear Bob
if my current shell does not have any history then how come i am getting the
history when i run the same in the terminal??
from where i am getting this history.
Chaitanya
On Tue, May 18, 2010 at 7:03 PM, Bob McConnell wrote:
> From: Chaitanya Yanamadala
>
> > hai
> > both of these
From: Chaitanya Yanamadala
> hai
> both of these didnt help me..
>
> @kammen
> i can run the history command from the command line..
> but not through the perl script..
> i have tried ur choice but it also didnt work..
>
> @shawn
> yes it didnt gave me any out put..
> but i require to print th
hai
both of these didnt help me..
@kammen
i can run the history command from the command line..
but not through the perl script..
i have tried ur choice but it also didnt work..
@shawn
yes it didnt gave me any out put..
but i require to print the output..
so hw do i do it..
can some body help
On 10-05-18 08:51 AM, Chaitanya Yanamadala wrote:
Can't exec "history": No such file or directory at cmd.pl line 33,
line 1.
--
so what could be wrong
i am running this under the cent os 5.4 and the perl version is 5.8.8
"history" is a built-in shell command for bas
hai
i am quite new to perl. i know php and mysql. so i require some help from u
guys
i have written one small script to run the short commands
this is the code
--
Code
--
#!/usr/bin/perl
use warnings;
# CUSTOM SYSTEM COMMANDS
print "Please
-- Forwarded message --
From: Rajini Naidu
Date: Tue, Mar 24, 2009 at 10:12 AM
Subject: Re: Require help in perl
To: "Chas. Owens"
Hi Chas,
Thanks for the reply.
Please find my answers inlined.
> >
> > Context :
> >
> > I am working on
On Tue, Mar 24, 2009 at 00:01, Rajini Naidu wrote:
> Hi,
>
> Context :
>
> I am working on displaying load graph for all the days.
>
>
>
> I require a perl module which displays,
>
> all the days of the week and when I click
>
> On the particular day, it should go to the
>
> particular load graph.
Hi,
Context :
I am working on displaying load graph for all the days.
I require a perl module which displays,
all the days of the week and when I click
On the particular day, it should go to the
particular load graph.
Any help is much appreciated.
-Rajini
Sayed, Irfan (Irfan) 写道:
Hi ,
I have written following script. Problem with the script is that it is
not changing the directory as per the foreach loop and because of that
cleartool command is failing. can somebody please help.
Here is the script.
#!/usr/bin/perl -w
@arr = `cleartool lsvo
Hi ,
I have written following script. Problem with the script is that it is
not changing the directory as per the foreach loop and because of that
cleartool command is failing. can somebody please help.
Here is the script.
#!/usr/bin/perl -w
@arr = `cleartool lsvob -s`;
foreach(@arr)
{
`cd
19 matches
Mail list logo