just hit "Enter"
-srini
Bobby wrote:
Hi,
What is the command to tell cpan to accept the default/suggested values?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi Richard,
There will be a config.pm file in the cpan module directory, you can
change the url list to point it to your local mirrors.
Thank You,
-srini
RICHARD FERNANDEZ wrote:
Hi folks,
I have a lot of boxes which are behind firewalls. Fortunately, I have a
local CPAN mirror that I insta
Hi,
I want to write a perl script that scrapes various job sites like
monster, dice, career builders etc.
Given the job id and web site name it should scrape the information and
store in a mySQL database.
Can you please tell me how to do this , or is there any such script
which does this.
perldoc -q "How can I compare two dates and find the difference"
Wagner, David --- Senior Programmer Analyst --- WGO wrote:
-Original Message-
From: timbo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 08, 2007 07:03
To: beginners@perl.org
Subject: calculating time difference with l
Jeff Pang wrote:
-Original Message-
From: [EMAIL PROTECTED]
Sent: Aug 7, 2007 10:06 PM
To: beginners@perl.org
Subject: Adding text in file written in Perl
Hello, I have written a Perl script that creates the dhcpd.conf and /
etc/hosts file for Red Hat Linux. The data is derived from
Hi,
@days{'Jan','Feb'} Hash slice containing ($days{'Jan'},$days{'Feb'})
-extracted from programmin perl 3rd edition
-srini
jeevs wrote:
why is it that when i write
my %hash = (jeevan=>'ingale', sarika=>'bere' );
my @arr = @hash{jeevan, sarika};
print @arr;
prints ingale bere
can someo
Hi Ben,
You can use shift for this.
sub remove_files_from_ftp_server {
my $pub_detail = shift @_;
my @files = @_;
Thank You,
-srini
Ben Edwards wrote:
I am passing a reference to a hash ($publisher) and a array with an
unknown number of elements (@files). So the call is
delete_from_pu
divya wrote:
Hi Andy,
Thanks for the reply.
I tried it out, but still not able to store error msgs.
What does 2>&1 mean?
This means redirecting standard error to standard output.
-srini
Is there any other way out.
Thanks,
Divya
Andy Greenwood wrote:
On 5/18/07, divya <[EMAIL PROTECTE
Hi,
ping geekcrossing.net|perl -le "m/time=(\d+)/;print $1";
Can some one help me with the above command
-srini
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi kumar,
Try this.
[EMAIL PROTECTED]:~/perl$ cat reg.pl
#! /usr/bin/perl
$id="[EMAIL PROTECTED]";
while(<>) {
chomp($_);print "$_\t";
print "$id found\n" if /$id/;
print "$id not found\n" if ! /$id/;
}
[EMAIL PROTECTED]:~/perl$ cat mail.txt
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED
Hi Hoffman,
When you are trying to do a numeric comparsion on strings.
The interpreter will try to convert them to numbers and then do a
comparsion.
if it cannot convert to numbers they are made 0's and then it will compare.
for more info please refer to this url:
http://www.perlmeme.org/ho
Hi,
This is the number of buckets in use and the total number of buckets in
the hash.
For more info please refer to the following url:
http://www.perlmonks.org/?node_id=173677
-srini
jonatan perry wrote:
Hi you all :-)
my name is Jonatan, I am new it this lists.
I was wondering, why do
p
00:00:00 perl
-srini
lakshmi priya wrote:
Hi,
Thanks for your prompt reply, I have no idea how to use perl
modules. Could you please help.
I tried using
use IO::Tee;
use IO::Handle;
but i got an error saying
Can't locate IO/Tee.pm in @INC ()
please help
On 3/29/07, *Boga
Hi lakshmi,
I think we can use the "Tee" module for that.
http://search.cpan.org/~dagolden/Tee-0.13/lib/Tee.pod
-srini
lakshmi priya wrote:
Hi all,
I have written a perl script that prints the output to the
terminal. I
also want to write the output to a file. So, what I have done is
w
Hi,
I am trying to capture the data between 2 patterns.
The following is the code snippet.
$str="hello: 0
fj
gerkjiuiojijgre
kgoerkgop
hello: 1";
$str =~ /hello:\s0(.*)hello:\s1/;
$title = $1;
print $title;
But this does not work.
Can any one help me
~Regards
Srini
--
To unsubs
e guide as to how the script can be made to
run in UNIX and DOS(I am using cygwin32 for NT)?
Regards
srinivas
Looking for a job? Visit Yahoo! India Careers
Visit http://in.careers.yahoo.com
--
To unsubscribe, e-ma
e guide as to how the script can be made to
run in UNIX and DOS(I am using cygwin32 for NT)?
Regards
srinivas
Looking for a job? Visit Yahoo! India Careers
Visit http://in.careers.yahoo.com
--
To unsubscribe, e-ma
how this can be done in Perl?
Srinivas
Looking for a job? Visit Yahoo! India Careers
Visit http://in.careers.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
script from
directory B, it does not run because the relative
paths are not valid. How can I run this script from
directory B without necessitating changes in paths.
regards
srinivas
Looking for a job? Visit Yahoo! India
down the server after
the client processes are over? Also how do we ensure
that the client starts after the server has
started.(do we need to sleep the server process for a
while)
Regards
srinivas
Looking for a job? Visit
Hi Here i have two pattern match statements can some
one tell me whether the two are same or not.
match_pattern =
{",\s*",fld,"(\s+\d+)(\s+\d+)(\s+\d+)\s*,"};
changed to the following
match_pattern = {",\s*",fld,"(\s+\d+){3}\s*,"};
is it same or different
i think they are not same...
thanks
Hi,
I have to automate ftp process using perl or shell scripts. At the moment I
cannot install NET:FTP class. So any pointers for me on how do this.
thanks,
vas
___
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/
Hi,
My perl code has to execute a couple of methods provided by a Java Class (Object).
Can I do that? if so, how?.
I am runing PREL 5.0 on Unix and Java 1.1.3
thanks in advance,
srinivas
23 matches
Mail list logo