Thanks a lot :)
Thanks,
Paryushan
-Original Message-
From: John W. Krahn [mailto:jwkr...@shaw.ca]
Sent: Friday, May 22, 2009 2:42 PM
To: Perl Beginners
Subject: Re: Save html page using perl
Sarsamkar, Paryushan wrote:
> Hi,
Hello,
> I have a URL, which displays different cont
Hi,
I have a URL, which displays different content at different time. Now I
want to save the page as html page to a particular location. How can I
do that using perl?
Thanks,
Paryushan
Hi All,
I have one perl script which connects to oracle db and run some queries
and get the job done. The initial code is as followed -
--code---
#!/usr/bin/perl
use strict;
use warnings;
use DBI;
use DBD::Oracle;
--code---
Then I have used perl2exe to generate a file so as to exe
Ohh ... sorry ... after rethinking over it ... I think it converts the $normal
to lower case before comparison
Please ignore my mail earlier
Thanks,
Paryushan
-Original Message-
From: Sarsamkar, Paryushan [mailto:psars...@ptc.com]
Sent: Monday, March 02, 2009 6:18 PM
To: beginners
...@gunnar.cc]
Sent: Monday, March 02, 2009 5:44 PM
To: beginners@perl.org
Subject: Re: Accepting default value for user input
Sarsamkar, Paryushan wrote:
> I did not understand meaning of this line :( below. I only understood
> that it will exit while loop if the input has either yes or no.
anks,
Paryushan
-Original Message-
From: Gunnar Hjalmarsson [mailto:nore...@gunnar.cc]
Sent: Saturday, February 28, 2009 3:35 AM
To: beginners@perl.org
Subject: Re: Acepting default value for user input
Chas. Owens wrote:
> On Fri, Feb 27, 2009 at 11:07, Gunnar Hjalmarsson wrote:
>
Hi All,
I would like to accept some user inputs (using ), but it might be
easier for a user if I can provide the default value, so that they just
have to press ENTER.
How can I do that? I've played around with but I cannot make it
work exactly as I'd like.
E.g.
Do you want to do th
Thanks...
My bad... I did not realize to use print instead of just "die"ing :)
Thanks,
Paryushan
-Original Message-
From: David Shere [mailto:dsh...@steelerubber.com]
Sent: Friday, February 27, 2009 7:31 PM
To: Sarsamkar, Paryushan
Cc: beginners@perl.org
Subject: Re:
Hi All,
Can we handle exceptions in PERL programs?
For example - Here if it fails to copy then can I handle the exception
and perform the next steps in my script? I tried removing "die" but then
it does not complain and I wont be able to come to know if that is
copied or not. (Is there anyt
Hi All,
While running my perl script (which run some commands in my application)
I get a authentication popup which is java applet and I would like to
handle that to enter user name and password so that rest of the command
gets executed.
Is there any way to do that?
Thanks,
Paryushan
Hi All,
I have a team of 4 people, and have some perl scripts written to make
our life easy J Now if my team mates want to run the scripts, then they
have to install perl on their machine (also the modules required for the
scripts), then download perl scripts on their machine and then run those
Thanks ...
Thanks,
Paryushan
-Original Message-
From: Rob Dixon [mailto:rob.di...@gmx.com]
Sent: Friday, February 06, 2009 9:23 PM
To: Perl Beginners
Cc: Sarsamkar, Paryushan
Subject: Re: Reading file and changing contents which are not in one
line
Sarsamkar, Paryushan wrote:
> Hi
Hi All,
I have one xconf file whose contents are as follows. I actually want to
search for a property and change its value. Now what happens in my code
is while reading the file, each line is stored in $_ so actually the
line in my file is slit up in 2 or more lines, so I can not find the
prope
I wanted to print some text on windows cmd in different colors, below is the
code that I am using which works fine on unix but not on windows L
#!/usr/bin/perl
use strict;
use warnings;
use Term::ANSIColor;
print color("red"), "Stop!\n", color("reset");
print color("green"), "Go!\n", c
Hi All,
I want to write a single Perl script to copy some files from one machine
to another. Those can be windows or unix. Is that possible to have one
script to do it?
The script that I have written is as follows which do the job for
windows to windows. The problem here is if user says tar
...@gmail.com]
Sent: Thursday, January 15, 2009 1:14 PM
To: Perl beginners
Subject: Re: How and from where to install perl 5.10 on unix (solaris) m/c?
2009/1/15 Sarsamkar, Paryushan :
> Hi All,
>
>
>
> I would like to install Perl 5.10 on UNIX (Solaris) machine. There is
> 5.0 and 5
Hi All,
I would like to install Perl 5.10 on UNIX (Solaris) machine. There is
5.0 and 5.6 version of Perl on that machine, but it does not have DBI
module that I want. Can anyone please help me in this regard?
Thanks,
Paryushan
17 matches
Mail list logo