There are some difference details between them.If you really want to
know it,you may first need to see what's mod_perl and how it
works.Take a look at:
mod_perl official documents:
http://perl.apache.org/docs/index.html
Why mod_perl by Stas Bekman:
On 7/5/07, Dinesh kumar [EMAIL PROTECTED] wrote:
Hi all,
can any one tell me what is the difference between perl and
mod_perl in detail ??
Four letters (mod_). Seriously, mod_perl is a Perl interpreter built
into Apache to enable some efficiency hacks.
--
To unsubscribe, e-mail:
Hi,
I'm still trying to get familiar with threads and sockets.
However, I got in some troubles with memory leaks, could anyone perhaps give
me a hint in which way I should write a multithreaded socket server ?
I wrote a small server, which accepts connections on a tcp socket and spawns a
new
Hello,
I have been using SWF::Builder to create swf files from actionscript (
.as files ). It works great until I try to use some actionscript with
an import statement, then I get this error:
Syntax error. ';' is expected. in 1
I don't think there are any issues with the code because it is
--- Randal L. Schwartz [EMAIL PROTECTED]
wrote:
Jeff == Jeff Pang [EMAIL PROTECTED]
writes:
Jeff May you need eval?Like,
No. Wrong direction for a solution. Don't suggest
things like this. Plenty
of proper answers elsewhere in the thread, so I
won't repeat them.
DO NOT USE
On 7/5/07, oryann9 [EMAIL PROTECTED] wrote:
--- Randal L. Schwartz [EMAIL PROTECTED]
wrote:
snip
DO NOT USE STRING EVAL. EVER.
Until you understand why I said that. :)
Will you kindly explain the logic/reasoning behind
this EVER rule?
snip
Almost anything you want to do with the string
Chas/Prabu,
The script is moving along nicely now:)
Incredible how I missed the obvious, although I have been staring at it for so
long...
Thanks!
jlc
-Original Message-
From: Prabu Ayyappan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 04, 2007 11:16 PM
To: Joseph L. Casale;
On 7/5/07, Shannon Scott [EMAIL PROTECTED] wrote:
I have been using SWF::Builder to create swf files from actionscript (
.as files ). It works great until I try to use some actionscript with
an import statement, then I get this error:
Syntax error. ';' is expected. in 1
That's not one of
herostar1981 [EMAIL PROTECTED] asked:
I have a big question.
why are the contents different between what I write to file
and what print in screen?
Obviously you are doing something wrong ;-)
If you want us to help you, please send a minimal code sample
that demonstrates your problem.
Hi All,
I have to build a search module which takes the parameter as year (ex
2007,2008 etc) ,title subjects.
Here is the module
sub search {
my($year,$author,$conference,$subject) = @_;
my $sth1=$dbh-prepare(select date_upload from docs);
my $res=$sth1-execute();
I'm reading Network Programming with Perl by Lincoln Stein, and I've
come across a snippet of code I'mnot quite following:
open (WHOFH, who |) or die Can't open who: $!;
While (WHOFH) {
next unless /^(\S+)/;
$who{$1}++;
}
It's the 'next' line I'm unclear on. I know that results: parse
On 7/5/07, herostar1981 [EMAIL PROTECTED] wrote:
why are the contents different between what I write to file and what
print in screen?
Because of something in your source code.
Cheers!
--Tom Phoenix
Stonehenge Perl Training
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Monty wrote:
I'm reading Network Programming with Perl by Lincoln Stein, and I've
come across a snippet of code I'mnot quite following:
open (WHOFH, who |) or die Can't open who: $!;
While (WHOFH) {
'While' is an error. What the code probably said was 'while' (Perl is case
sensitive.)
On Jul 2, 9:27 am, [EMAIL PROTECTED] (Rob Dixon) wrote:
Gabriel Striewe wrote:
What do I do wrong?
First of all, the ampersand subroutine designation is outdated and dangerous
and it is far better to use the indirect notation for a subroutine call:
$hello-()
Perl will interpolate only
On Jul 5, 10:49 am, [EMAIL PROTECTED] (Monty) wrote:
I'm reading Network Programming with Perl by Lincoln Stein, and I've
come across a snippet of code I'mnot quite following:
open (WHOFH, who |) or die Can't open who: $!;
While (WHOFH) {
Please configure your mail/newsreader not to
On 7 5 , 11 42 , [EMAIL PROTECTED] (T Baetzler) wrote:
Thanks...
The following loop is used to format the contents:
for my $key (keys %station)
{ $sta[$k].=Placemark\n visibility0/visibilityname$key/
namedescription![CDATA[hrcenterh3a href=http://
globec.whoi.eduU.S.GLOBEC/a /h3img
Thanks.
But I can not understand you.
Can you tell me the correct methods?
I am not sure what's wrong.
And I have spent the whole morning to find the mistake.
Please help me...
BR,
xu
On 7 5 , 11 35 , [EMAIL PROTECTED] (Tom Phoenix) wrote:
On 7/5/07, herostar1981 [EMAIL PROTECTED] wrote:
On 7/5/07, Monty [EMAIL PROTECTED] wrote:
I'm reading Network Programming with Perl by Lincoln Stein, and I've
come across a snippet of code I'mnot quite following:
open (WHOFH, who |) or die Can't open who: $!;
While (WHOFH) {
next unless /^(\S+)/;
$who{$1}++;
}
That should be
From: Monty [EMAIL PROTECTED]
I'm reading Network Programming with Perl by Lincoln Stein, and I've
come across a snippet of code I'mnot quite following:
open (WHOFH, who |) or die Can't open who: $!;
While (WHOFH) {
next unless /^(\S+)/;
$who{$1}++;
}
It's the 'next' line I'm
I am sorry.
Can you explain clearly?
I don't know what's wrong.
Your mean is the script code or the content I want to write to the
file?
Thanks a lot.
Best Regards,
xu
On 7 5 , 11 35 , [EMAIL PROTECTED] (Tom Phoenix) wrote:
On 7/5/07, herostar1981 [EMAIL PROTECTED] wrote:
why are the
On 7/5/07, herostar1981 [EMAIL PROTECTED] wrote:
for (my $i=0;$i=$#data;$i++)
{ $kml.=Folderopen0/opennamestation/name.
$sta[$i]./Folder;}
That _might_ be correct. But why does the loop count through the last
element of the @data array, when you're processing the @sta array? And
did
On 5 Jul, 00:24, [EMAIL PROTECTED] (Ken Foskey) wrote:
On Wed, 2007-07-04 at 19:00 +0200, Martin Barth wrote:
Hi
if (($DeviceType eq Switch) || ($DeviceType eq Router) ||
($DeviceType eq Hub) || ($DeviceType eq Access point))
what i would like to do is check each device type with
When I see code that starts with:
require 5.6.0;
Does that mean that the version of Perl can be 5.6.0 and above or that
it *has to be* 5.6.0?
Robert
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On 7/5/07, Robert Hicks [EMAIL PROTECTED] wrote:
When I see code that starts with:
require 5.6.0;
Does that mean that the version of Perl can be 5.6.0 and above or that
it *has to be* 5.6.0?
Robert
from perldoc -f require
VERSION may be either a numeric argument such as 5.006,
When I see code that starts with:
require 5.6.0;
Does that mean that the version of Perl can be 5.6.0
and above or that
it *has to be* 5.6.0?
...that version and above
see the output from;
perldoc -f require
I am attempting to install DBD::Oracle for Perl. I am having some
difficulties though. During the make test procedure a number of my
tests fail. One of them is the 10general.t test.
It fails on lines 31 and 32 which has
is system(exit 1;), 18, 'system exit 1 should return 256';
is system(exit
At this point, if I use following script, I can work as I wish:
print Content-type: text/html\n\n;
print $kml;
Placemark
visibility1/visibilitynamestation38/namedescription!
[CDATA[hrcenterh3a href=http://globec.whoi.eduU.S.GLOBEC/a
/
h3img src=http://mapservice-xu.whoi.edu/globec.gif;brP
a
From: Monty [EMAIL PROTECTED]
Thanks for all the replies, both in this group and in separate e-
mails.
Things have been cleared up. My major misunderstanding was in the
fact that $1, $2, etc. can exist outside the RegEx. I previously
thought they had to be confined to the expression
please...
this forum refresh so slowly
On 7 5 , 1 06 , [EMAIL PROTECTED] (Tom Phoenix) wrote:
On 7/5/07, herostar1981 [EMAIL PROTECTED] wrote:
for (my $i=0;$i=$#data;$i++)
{ $kml.=Folderopen0/opennamestation/name.
$sta[$i]./Folder;}
That _might_ be correct. But why does
On 7/5/07, Lakshmi Sailaja [EMAIL PROTECTED] wrote:
I want to automate the following through Perl:
su - user
and provide password
check if the login is successful or not.
You'll probably have an easier time using sudo, instead of su; it's
made for this sort of thing. See whether yours has the
On 7/5/07, Dan King [EMAIL PROTECTED] wrote:
I am attempting to install DBD::Oracle for Perl. I am having some
difficulties though. During the make test procedure a number of my
tests fail. One of them is the 10general.t test.
It fails on lines 31 and 32 which has
is system(exit 1;), 18,
Hi,
I'm trying to build a generic Parsing Arguments functions that would
be driven by an array of possible options that is defined by a
specific program. I'm trying to use this feature of GetOptions:
my %h = ();
GetOptions (\%h, 'length=i'); # will store in $h{length}
But what I would like
I am reading perldoc.perl.org and am not understanding exit and die clearly.
If I have a conditional in a sub that I want to validate with, what is the
correct way to do the following:
1. End the sub and return back to the script without continuing that sub.
2. End the entire
I am reading perldoc.perl.org and am not understanding exit and die
clearly.
If I have a conditional in a sub that I want to validate with, what is the
correct way to do the following:
1. End the sub and return back to the script without continuing that
sub.
if
I am reading perldoc.perl.org and am not understanding exit and die
clearly.
If I have a conditional in a sub that I want to validate with, what is
the
correct way to do the following:
1. End the sub and return back to the script without continuing
that
sub.
if
On Jul 5, 5:41 pm, [EMAIL PROTECTED] (Tom Phoenix) wrote:
If that's the feature you're trying to use, why are you trying to use
it like that? It seems to want a reference to a hash and a string, but
you give it a hash? Try giving it a reference to a hash and a string,
maybe something like
36 matches
Mail list logo