Yes David, it had been answered. Thanks a lot :)
On Sun, Jul 14, 2013 at 9:01 PM, David Christensen
dpchr...@holgerdanske.com wrote:
On 07/12/13 21:50, David Christensen wrote:
I was half asleep when I wrote that -- it looks like three people answered
two different questions:
1. Shawn
Thanks Shawn.
-Vino
On Fri, Jul 12, 2013 at 12:44 PM, shawn wilson ag4ve...@gmail.com wrote:
Easiest:
my $file = /etc/resolv.conf;
open(my $fh, , $file) or die Can not open $file: . $!;
my @dns;
while ($fh) {
next unless /nameserver +([0-9\.]+)/;
push @dns, $1;
}
On Fri, Jul 12,
Thanks a lot. :)
-Frank
On Wed, Dec 5, 2012 at 9:23 AM, Chankey Pathak chankey...@gmail.com wrote:
Ovid has written a nice book, which is available online, you may refer it:
ofps.oreilly.com/titles/9781118013847/
On Wed, Dec 5, 2012 at 4:26 AM, Asad asad.hasan2...@gmail.com wrote:
Hi
Thanks Shawn
-Frank
On Wed, Dec 5, 2012 at 10:34 AM, shawn wilson ag4ve...@gmail.com wrote:
also, since the op was on a free kick, i'll point this out (maybe i've
done so before in this forum) - http://hackershelf.com/browse/
On Tue, Dec 4, 2012 at 11:20 PM, Franklin Lawerence
Hi:
I am a real beginner of perl. after looking for Internet for serveral
hours, I still can't find the answers for my problem. My question is:
Which function I can use to get 2 digits after point for a variable?
For example, for $j=2.56789, how can I get the very first two digits
after points,ie,
Thanks you very much for your kind help!
On 10/20/05, John W. Krahn [EMAIL PROTECTED] wrote:
Franklin wrote:
Hi:
Hello,
I am a real beginner of perl. after looking for Internet for serveral
hours, I still can't find the answers for my problem. My question is:
Which function I can use
Hi;
I have written a small email program which sent a simple email using
Mail::Sendmail. But when I executed it, it failed and the output was:
the domain isn't in the list of allowed rcpthosts. Would you please
tell me what it means and how to solve it?
Thank you very much!
Franklin
Hi;
I have written a small email program which sends a simple email body
which is Test Text and an attachment file whose name is test.htm.
But I don't know how I can put the content of test.htm directly into
the email's body and send it instead send the file via attaching. If
you know it, would
I will do further research according to your suggestions. Thank you very much!
On 5/26/05, Jay Savage [EMAIL PROTECTED] wrote:
On 5/24/05, Franklin [EMAIL PROTECTED] wrote:
Hi;
I have a small program that uses getstore to fetch a xml webpahe and
store it. It is:
use strict;
use
. What is wrong with it? And is there any solution or
alternatives to this problems?
Thank you very much!
Best wishes
Franklin
T
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
Sometimes it ok. But when you run it many times, say 1,000 times,
there is serveral times that it return 200, but the stored file is 0
bytes, titally empty.
On 5/25/05, John Doe [EMAIL PROTECTED] wrote:
Am Dienstag, 24. Mai 2005 08.59 schrieb Franklin:
Hi;
I have a small program
I have gotten it done. Thanks
- Original Message -
From: Philipp Traeder [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 5:40 AM
Subject: Re: parse xml
Hi Franklin,
please bottom post (write your answer below the quoted text) - it's much
easier to follow
Hey!
How can i parse this xmlfile?
As you can see, there are two DbName.../DbName in both
ResultItemOne and ResultItemTwo. The first two DbName values and
last two DbName values must be treated different and be given two
different array. You guys have mentioned to use the method such as
print
distinguish between the first two
DbName value and the last two.
How to solve it?
Thank you very much!
On Wed, 27 Oct 2004 21:45:30 -0400 (EDT), Chris Devers
[EMAIL PROTECTED] wrote:
On Wed, 27 Oct 2004, Franklin wrote:
How can i parse this xmlfile?
That depends on what XML parsing module
I tried this one , but it seems not working:(
Not an ARRAY reference at test.pl line 8
- Original Message -
From: Philipp Traeder [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 25, 2004 4:36 PM
Subject: Re: parse xml
On Monday 25 October 2004 16:49, Jenda Krynicky wrote:
platform)
Thank you very much in advance!
Franklin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
in advance.
Bestwishes
Franklin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
in advance.
Bestwishes
Franklin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
.
On Wed, 22 Sep 2004 08:19:43 -0500, JupiterHost.Net
[EMAIL PROTECTED] wrote:
Franklin wrote:
Hello:
Hello,
I have a database which refresh every minutes according to the
information on Internet and I provide users to predefine some
condition. When these conditions are matched, my
Hello:
My operating system is freebsd and its time is GMT time which I can't
change. How can I write a perl script to get the exact
time(Hour,minute,second) and change it to US ET?
Thank you very much!
Franklin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
] wrote:
Franklin wrote:
Hello:
My operating system is freebsd and its time is GMT time which I can't
change. How can I write a perl script to get the exact
time(Hour,minute,second) and change it to US ET?
As John said, the internal clock is always UTC. On FreeBSD, you use the
tzsetup(8
this method the second also fit it.
How can I extact the first URL from the three ind of lines?
Thank you very much!
Franklin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
to encrypt my perl script
--As of Saturday, August 14, 2004 6:56 PM +0800, Franklin is alleged to
have said:
I would run a perl script in my website which is hosted in one hosting
service provider. Is there any means that I can use to encrypt my script
so that it can't be viewed by others
in linux comand such as perl test.pl and monitor its output at real-time through ssh access. I am planing to apply for the virtual server plan. Do you think it is a good choice? Comments highly appreciated.
Thank you very much in advance,
Franklin
Hello:
I would run a perl script in my website which is hosted in one hosting service provider. Is there any means that I can use to encrypt my script so that it can't be viewed by others illegally?
Thank you very much in advance.
Bestwishes
Franklin
Hello:
I want to extract the digit from a line of text. For exmple, for a text line: TSC2101Net, how can I write a script to extract 2101 and print it?
Thank you very much in advance!
Bestwishes
Franklin
IncrediMail - Email has
Test
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Clear DayHello,
I use this line in my script: use MIME::Lite
I received a file not found error.
I have found a lite.PM file. When I upload this
file what permission should I use?
As always, your comments are deeply appreciated, Joseph.
- Original Message -
From: R. Joseph Newton [EMAIL PROTECTED]
To: Horace Franklin Jr. [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 10:13 PM
Subject: Re: I need help using %Hashes
Horace Franklin Jr. wrote
Help!
I need help using %hashes to receive input from the form below.
What changes would I make to the syntax of the commented lines
below to do this?.
my $form = E_FORM;
h3Hello!/h3
form action=$url method=post
# pbMy name is/b: input type=text name=name//p
#
with a response.
I thought using hashes are one way to accomplish
the above tasks.
Is there a better way to accomplish the above task?
Horace
- Original Message -
From: Jason Jolly [EMAIL PROTECTED]
To: Horace Franklin Jr. [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 3:19 PM
Subject
Thanks!
- Original Message -
From: Bob Showalter [EMAIL PROTECTED]
To: 'Horace Franklin Jr.' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 3:23 PM
Subject: RE: Help using %Hashes
Horace Franklin Jr. wrote:
Help!
I need help using %hashes to receive
Thanks!
- Original Message -
From: Jordan Mclain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 3:31 PM
Subject: RE: Help using %Hashes
you could do this after you initiate the hash.
foreach(sort keys %params) {
$params{$_} = $cgi-param($_);
}
Thanks!
- Original Message -
From: brad [EMAIL PROTECTED]
To: Horace Franklin Jr. [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 5:15 PM
Subject: Re: Help using %Hashes
google for formmail.pl
don't try to reinvent the wheel, i am a beginner also but after a few
hours learning i
Thanks, I will try your suggestion and let you know the results.
- Original Message -
From: Jason Jolly [EMAIL PROTECTED]
To: Horace Franklin Jr. [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 4:31 PM
Subject: Re: Help using %Hashes
Yeah.
You'll probably want to do something like
Help!
I need help using %hashes to receive input from the form below.
What changes would I make to the syntax of the commented lines
below to do this?.
my $form = E_FORM;
h3Hello!/h3
form action=$url method=post
# pbMy name is/b: input type=text name=name//p
#
Thanks!
- Original Message -
From: Jason Archer [EMAIL PROTECTED]
To: Horace Franklin Jr. [EMAIL PROTECTED]
Cc: Perl Beginners [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 10:35 AM
Subject: Re: I need help using %Hashes
You need no changes at all to receive the input. Getting
Clear DayHello,
I would like to use %HASHES/Associative arrays to accept input from a
form generated within a perl script.
The normal input of a html form is print input type=text name=fname value=
size=15 maxlength=20 \n;
Is the syntax when using Hashes:
my %hashes;
print input type=\text\
or do I need something like:
print "input type=\"text\" name=\"fname\"
value=\"$input{'name'} \" size=15
maxlength=20"\n;
In other words, I want a self contained script (the script
displays forms, process form info, and sends mail, etc).
see attached file guestb
Clear DayI Wanna Get Weighed
John took his blind date to the carnival. What would you like
to do first, Kim? asked the man. I want to get weighed,
said the girl.
They ambled over to the weight guesser. He guessed 120 pounds.
She got on the scale; it read 117 and she won a prize.
Good Point!
I loaded this version because it was on a CD
that came with a book I purchased.
I will go to www.perl.org and download
the newer version.
Thank You!
Horace
- Original Message -
From: R. Joseph Newton
To: Mr. Horace Franklin Jr.
Cc: [EMAIL PROTECTED]
Sent
To All,
Recently, a member/user of [EMAIL PROTECTED] brought
to my attention that I had addressed a joke email, I Wanna
get Weighed, to [EMAIL PROTECTED] This email was sent
was sent by accident. It was a mistake.
Nevertheless, I owe each and every one of you an apology.
Please accept my
Clear DayMost Excellent ones,
I have installed ActivePerl 5-6-1 build 633 on my PC
(WIN).
Can I use this program on my stand alone PC to test the syntax
of perl CGI scripts?
If the answer is yes. Are there any tips for configuring perl?
Novice
($START-$1-1)/e;
$@ =~ s/( at ).*( line )/$1${CGI}$2/;$
*$@ =~ s/( at ).*($LINE)/$1${CGI}$2/,$
- Original Message -
From: R. Joseph Newton [EMAIL PROTECTED]
To: Mr. Horace Franklin Jr. [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL
- Original Message -
From: R. Joseph Newton [EMAIL PROTECTED]
To: Rob Dixon [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 7:51 PM
Subject: Re: CG I Script [guestbook.cgi]
Rob Dixon wrote:
Mr. Horace Franklin Jr. wrote:
Rob,
Disregard the email below
Rob/Joseph,
It worked, thanks.
Horace
- Original Message -
From: R. Joseph Newton [EMAIL PROTECTED]
To: Rob Dixon [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 7:51 PM
Subject: Re: CG I Script [guestbook.cgi]
Rob Dixon wrote:
Mr. Horace Franklin Jr
NO MORE ERRORS
The script guestbook.cgi is working!
- Original Message -
From: Mr. Horace Franklin Jr. [EMAIL PROTECTED]
To: R. Joseph Newton [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 7:04 AM
Subject: Re: CG I Script [guestbook.cgi]
Joseph
NO MORE ERRORS!!!
The script guestbook.cgi is working!
My heartfelt thank to everyone that assisted me.
- Original Message -
From: Mr. Horace Franklin Jr. [EMAIL PROTECTED]
To: R. Joseph Newton [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 10
Good idea thanks!
- Original Message -
From: Dan Muey [EMAIL PROTECTED]
To: Mr. Horace Franklin Jr. [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, March 07, 2003 10:37 AM
Subject: RE: CG I Script [guestbook.cgi]
I tired to run the script below on my host server
I will add this line to my script, run it and let you know
the 'exact errors' I am receiving.
CGI::Carp qw(fatalsToBrowser);.
- Original Message -
From: Hanson, Rob [EMAIL PROTECTED]
To: 'Mr. Horace Franklin Jr.' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 10:43 AM
Good Idea Thanks!
- Original Message -
From: R. Joseph Newton [EMAIL PROTECTED]
To: Mr. Horace Franklin Jr. [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, March 08, 2003 1:34 PM
Subject: Re: explicit package?
Mr. Horace Franklin Jr. wrote:
When I used the script
Good information, thanks.
- Original Message -
From: Wiggins d'Anconia [EMAIL PROTECTED]
To: Mr. Horace Franklin Jr. [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, March 08, 2003 1:27 PM
Subject: Re: explicit package?
Mr. Horace Franklin Jr. wrote:
I used the script
at the file vars.pm?
Horace
- Original Message -
From: Mr. Horace Franklin Jr. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Hanson, Rob [EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 9:36 AM
Subject: Re: CG I Script [guestbook.cgi]
I will add this line to my script, run it and let you know
Rob,
Disregard the email below.
I have one error:
Software Error:
Can't find string terminator E_FORM anywhere before EOF at
cgi_guestbook.cgi line 205.
The code looks good to me. What does this error mean?
Horace
- Original Message -
From: Mr. Horace Franklin Jr. [EMAIL PROTECTED
When I used the script. guestbook.cgi, I received the following
errors.
What is wrong with the syntax/code and what is an explicit pacakage?
The file guestbook.cgi is attached.
Software error:syntax error at guestbook.cgi line 109, near
"h3" (Might be a runaway multi-line "" string starting
Clear DayI tired to run the script below on my host server and it would not run.
The server cannot find Taintcheck or Timefuncs. I uploaded these
pm file to the server.
What did I do wrong?
Is Apache the problem?
SERVER INFORMATION:
Path to Perl: /usr/local/bin/perl
Path to Sendmail:
56 matches
Mail list logo