Shourya Sengupta schreef:
> Ruud:
>> Shourya:
>>> My perl program calls a batch file on a remote machine.
>>> Now my question is how to return a value from that batch script and
>>> how to grab it in the perl file?
>>
>> What kind of value?
>
> It's the value of a variable generated in the batch s
Rob Dixon am Freitag, 4. August 2006 16:54:
> Tim Wolak wrote:
> > I have modified the code however its still not writting to the file
> > Not sure what is going on, I have tried different ideas to get it to
> > pint to the file but so far no go. Does anyone have any ideas?
> >
> > #!/usr/bin/
On 08/03/2006 01:27 PM, Wesley Bresson wrote:
I'm pretty new to Perl, my past experience has been in modifying other
peoples code in order to do what I want it to do but now I'm trying to
write
my own to do a specific task that I can't find code for and am having
issues. I am trying to retrieve
On 08/04/2006 04:26 AM, Paul Beckett wrote:
I'm trying to pattern match the beginning of a SQL string like:
INSERT INTO `rwikiobject` VALUES
('0b5e02f308c5341d0108fca900670107','2006-03-06
23:36:41','/site/ec07580d-1c66-469f-80be-c0afd616cedf/alembert, d
\'','/site/ec07580d-1c66-469f-80be-c0afd61
Tom,
My data is coming from a trusted source (dumped from one of my databases).
Presumably even if someone put something evil like unlink into a field in
my database, mysqldump will have escaped any apostophes etc, so I guess in this
specific situation it should be safe.
Thanks for the warnin
On 8/4/06, Rob Dixon <[EMAIL PROTECTED]> wrote:
The code below grabs the contents of the SQL string between (and
including) the first '(' and the last ')'. It then calls eval() to process it
Please don't use the evil eval for this. You're using a flamethrower
to light candles. Slip the string
Tim Wolak wrote:
I have modified the code however its still not writting to the file
Not sure what is going on, I have tried different ideas to get it to
pint to the file but so far no go. Does anyone have any ideas?
#!/usr/bin/perl -w
use strict;
use warnings;
my $logfile = '/var/log/mes
Wesley Bresson wrote:
>
> I'm pretty new to Perl, my past experience has been in modifying other
> peoples code in order to do what I want it to do but now I'm trying to
> write
> my own to do a specific task that I can't find code for and am having
> issues. I am trying to retrieve data from a we
On Fri, 2006-08-04 at 14:46 +0200, D. Bolliger wrote:
> Tim Wolak am Freitag, 4. August 2006 14:07:
>
> Hello Tim
>
> > On Thu, 2006-08-03 at 15:26 -0700, John W. Krahn wrote:
> > > Rob Dixon wrote:
> > > > Tim Wolak wrote:
> > > >> if($box =~ m/"$tim"/){
>
Paul Beckett wrote:
>
> I'm trying to pattern match the beginning of a SQL string like:
> INSERT INTO `rwikiobject` VALUES
> ('0b5e02f308c5341d0108fca900670107','2006-03-06
> 23:36:41','/site/ec07580d-1c66-469f-80be-c0afd616cedf/alembert, d
> \'','/site/ec07580d-1c66-469f-80be-c0afd616cedf'
>
> My
Tim Wolak am Freitag, 4. August 2006 14:07:
Hello Tim
> On Thu, 2006-08-03 at 15:26 -0700, John W. Krahn wrote:
> > Rob Dixon wrote:
> > > Tim Wolak wrote:
> > >> if($box =~ m/"$tim"/){
> > >
> > > Do you intend the quotes? If the lines from the original ho
Wesley Bresson schreef:
> andrewmchorney:
[don't top-post]
>> Is there a downloadable manual for perl? I would like to download the
>> manual onto my laptop before I go on vacation. I really want to avoid
>> bringing extra books.
>
> http://learn.perl.org/library/
> I've downloaded and been read
On Thu, 2006-08-03 at 15:26 -0700, John W. Krahn wrote:
> Rob Dixon wrote:
> >
> > Tim Wolak wrote:
> >>
> >> if($box =~ m/"$tim"/){
> >
> > Do you intend the quotes? If the lines from the original hosts.deny file
> > (in @boxes) have IP addresses in quotes
Hi Irfan,
If somebody is a beginner (in true sense) in perl the following link
will be really useful. Check it out.
http://www.emu.edu.tr/english/facilitiesservices/computercenter/bookslib
/Teach%20Yourself%20Perl%205%20in%2021%20Days%2C%20by%20David%20Till%2C%
20Second%20Edition/
Regards,
Shour
It's the value of a variable generated in the batch script.
By the way does batch script have any kind of return statement?
-Original Message-
From: Dr.Ruud [mailto:[EMAIL PROTECTED]
Sent: Friday, August 04, 2006 4:44 PM
To: beginners@perl.org
Subject: Re: perl script calls batch file
"S
"Shourya Sengupta" schreef:
> My perl program calls a batch file on a remote machine.
> Now my question is how to return a value from that batch script and
> how to grab it in the perl file?
What kind of value?
[Signature separator missing. Get rid of any garbage tail, such as
Disclaimers, befo
I'm pretty new to Perl, my past experience has been in modifying other
peoples code in order to do what I want it to do but now I'm trying to write
my own to do a specific task that I can't find code for and am having
issues. I am trying to retrieve data from a webpage, say
http://www.apmex.com/sh
http://learn.perl.org/library/
I've downloaded and been readying through the "Beginning Perl" title on the
top of the page, I guess it depends what type of Perl manual you want
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello
Is there a downloadable manual for perl? I would
I'm trying to pattern match the beginning of a SQL string like:
INSERT INTO `rwikiobject` VALUES
('0b5e02f308c5341d0108fca900670107','2006-03-06
23:36:41','/site/ec07580d-1c66-469f-80be-c0afd616cedf/alembert, d
\'','/site/ec07580d-1c66-469f-80be-c0afd616cedf'
My expression so far looks like:
my ($
Eric Krause wrote:
>
> I am new to perl and I am trying to write a script that will allow me to
> automate some tasks that I do every day on the same web pages. Can
> anyone give me some quick examples to get web page data and pass data
> back to the pages?
>
> Sorry if this question is lame, I am
dear members,
i have a bundle of questions and hope that anybody is patient enough to
listen to. i'm processing xml-files with perl. i'm using xml::dom and
i'm learning about processing xml-files with perl by
E.Ray's/J.McIntosh's XML&Perl book. i'm reading the german edition.
they offer a f
21 matches
Mail list logo