[26659] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 8766 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Dec 15 14:05:22 2005

Date: Thu, 15 Dec 2005 11:05:04 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Thu, 15 Dec 2005     Volume: 10 Number: 8766

Today's topics:
    Re: Can services be written in Perl? <as@hut.at>
    Re: Can services be written in Perl? <as@hut.at>
    Re: Can services be written in Perl? <matthew.garrish@sympatico.ca>
    Re: Can services be written in Perl? xhoster@gmail.com
    Re: getelementbyid on a form  <glex_no-spam@qwest-spam-no.invalid>
        newbie ques <madhuram@nortel.com>
        xml parsing <madhuram@nortel.com>
    Re: xml parsing <matthew.garrish@sympatico.ca>
    Re: xml parsing <glex_no-spam@qwest-spam-no.invalid>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Thu, 15 Dec 2005 15:41:12 +0100
From: "hyena" <as@hut.at>
Subject: Re: Can services be written in Perl?
Message-Id: <4c7c7$43a18089$839b8704$6829@news2.tudelft.nl>

if you mean win32 service in winNT, see CPAN win32::service and 
win32::daemon modules.

I never use them, just curious:)

<robic0> wrote in message news:urv1q1h4vd4rbrmn9u4p79hu7nca98b7kt@4ax.com...
> ?????? 




------------------------------

Date: Thu, 15 Dec 2005 15:41:52 +0100
From: "hyena" <as@hut.at>
Subject: Re: Can services be written in Perl?
Message-Id: <7eda4$43a180b1$839b8704$6836@news2.tudelft.nl>

http://www.roth.net/perl/Daemon/

<robic0> wrote in message news:urv1q1h4vd4rbrmn9u4p79hu7nca98b7kt@4ax.com...
> ?????? 




------------------------------

Date: Thu, 15 Dec 2005 09:42:43 -0500
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Can services be written in Perl?
Message-Id: <xhfof.3566$PQ3.640593@news20.bellglobal.com>


"Ian Stuart" <ian.stuart@ed.ac.uk> wrote in message 
news:43a12454$0$27205$ed2619ec@ptn-nntp-reader02.plus.net...
> robic0 wrote:
>> ??????
> Of course. Here are just three that I've been involved in:
> http://edina.ac.uk/stat-acc-scot/
> http://nevis.ed.ac.uk:8080/getref/getref.asp
> http://www.gashe.ac.uk/
>
> The services are either limited to just UK Academia, or fully publicly 
> available....

I suspect he means Windows services, but your guess is as good as mine with 
this twat. Anyone too lazy to find Win32::Daemon or figure out how to use 
srvany on their own isn't worth responding to, though.

Matt 




------------------------------

Date: 15 Dec 2005 16:51:07 GMT
From: xhoster@gmail.com
Subject: Re: Can services be written in Perl?
Message-Id: <20051215115107.776$u1@newsreader.com>

robic0 wrote:
> ??????


I believe that that depends upon your denomination.  The Orthodox probably
demand that services be written in Latin or Hebrew.  In the more liberal
branches, you can get away with pretty much anything, so why not Perl?

Xho

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service                        $9.95/Month 30GB


------------------------------

Date: Thu, 15 Dec 2005 12:33:24 -0600
From: "J. Gleixner" <glex_no-spam@qwest-spam-no.invalid>
Subject: Re: getelementbyid on a form 
Message-Id: <VFiof.35$mP6.493@news.uswest.net>

Nospam wrote:
> My apologies to all I am new to perl, wondering if this is possible using
> the method getelementbyid:
> 
> If I had javascript code on a page containing a form field and I wanted to
> fill in this field, how would I utilise getelementbyid if the javascript eg
> is:
> 
> <tr>
>   <td class="row1"><span class="gen"><b>Username</b></span></td>
>   <td class="row2"><span class="genmed"><input type="text" class="post"
> tabindex="1" name="username" size="25" maxlength="25" value=""
> /></span></td>
>  </tr>
> 
> and I wanted to fill the form field username
> 
> $mech->field ('username', $username);
> 
> somehow wouldn't work, but I am unsure as to how to use getelementbyid.
> 
> 

ahhhh.. what?  You're asking how to use Javascript's getElementById in a 
perl group and you post HTML and a snippet of perl... What are you
asking?

Either post your Javascript question to a Javascript group, and do them
a favor and include your code, or post your perl question and your
perl code here.


------------------------------

Date: Thu, 15 Dec 2005 13:15:27 -0500
From: "Madhu Ramachandran" <madhuram@nortel.com>
Subject: newbie ques
Message-Id: <dnsbs0$4dn$1@zcars129.ca.nortel.com>

i want to look for xml tokens.. like <token> .. the pattern matching doesnt 
seem to work when i have < and >.. i tried escaping < and > with a \ , but 
no use..

$inp=<STDIN>;
if ($inp =~ /\b\<[a-z]+\>\b/) {
  print ("SUCCESS inp has <sometoken> \n");
}

even if i enter <a> as input, i never get SUCCESS printed

Thanks in advance 




------------------------------

Date: Thu, 15 Dec 2005 10:25:56 -0500
From: "Madhu Ramachandran" <madhuram@nortel.com>
Subject: xml parsing
Message-Id: <dns1u4$kit$1@zcars129.ca.nortel.com>

hello,

iam new to perl and want to use an xml parser bundled with perl . i have 
version v5.6.1 and when i run a perl script, it doesnt seem to recognize the 
expat based perl parser.

znc0s0jh:/> perl xmlp2.pl
Can't locate XML/Parser.pm in @INC (@INC contains: /opt/servman/bin 
/opt/sspfs/fs /opt/ser
vman/bin/Algorithm-Dependency/lib /opt/servman/bin /opt/sspfs/fs 
/opt/servman/bin/Algorith
m-Dependency/lib /usr/perl5/5.6.1/lib/sun4-solaris-64int 
/usr/perl5/5.6.1/lib /usr/perl5/s
ite_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 
/usr/perl5/site_perl /usr/per
l5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 
/usr/perl5/vendor_per
l .) at xmlp2.pl line 3.

my line 3: use XML::Parser;

Appreciate any help. I want to only use xml parser which comes bundled with 
perl. reason is: i want to provide a script on a load(which has perl), but 
can't request adding any external modules to the load.

Thanks.

Madhu 




------------------------------

Date: Thu, 15 Dec 2005 12:04:46 -0500
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: xml parsing
Message-Id: <Imhof.3634$PQ3.655706@news20.bellglobal.com>


"Madhu Ramachandran" <madhuram@nortel.com> wrote in message 
news:dns1u4$kit$1@zcars129.ca.nortel.com...
> hello,
>
> iam new to perl and want to use an xml parser bundled with perl . i have 
> version v5.6.1 and when i run a perl script, it doesnt seem to recognize 
> the expat based perl parser.
>
> znc0s0jh:/> perl xmlp2.pl
> Can't locate XML/Parser.pm in @INC (@INC contains: /opt/servman/bin

It appears that XML-Parser does not come bundled with your Perl, or you have 
the wrong path to the Perl lib you're using in @INC. (It's not a core 
module, so why do you think it's bundled?).

You either need to find where the module has been installed and add the path 
or install the module (I suspect the latter).

Matt 




------------------------------

Date: Thu, 15 Dec 2005 12:13:44 -0600
From: "J. Gleixner" <glex_no-spam@qwest-spam-no.invalid>
Subject: Re: xml parsing
Message-Id: <tniof.24$GS2.2328@news.uswest.net>

Madhu Ramachandran wrote:
> hello,
> 
> iam new to perl and want to use an xml parser bundled with perl . i have 
> version v5.6.1 and when i run a perl script, it doesnt seem to recognize the 
> expat based perl parser.
> 
> znc0s0jh:/> perl xmlp2.pl
> Can't locate XML/Parser.pm in @INC (@INC contains: /opt/servman/bin 
> /opt/sspfs/fs /opt/ser
> vman/bin/Algorithm-Dependency/lib /opt/servman/bin /opt/sspfs/fs 
> /opt/servman/bin/Algorith
> m-Dependency/lib /usr/perl5/5.6.1/lib/sun4-solaris-64int 
> /usr/perl5/5.6.1/lib /usr/perl5/s
> ite_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 
> /usr/perl5/site_perl /usr/per
> l5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 
> /usr/perl5/vendor_per
> l .) at xmlp2.pl line 3.
> 
> my line 3: use XML::Parser;
> 
> Appreciate any help. I want to only use xml parser which comes bundled with 
> perl. reason is: i want to provide a script on a load(which has perl), but 
> can't request adding any external modules to the load.
> 
> Thanks.
> 
> Madhu 
> 
> 

Well, it's either not installed (very likely) or installed in a 
directory outside of your @INC (not very likely). To resolve it you'll
either need to install it, or find where it's currently installed.


------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V10 Issue 8766
***************************************


home help back first fref pref prev next nref lref last post