[27691] in Perl-Users-Digest
Perl-Users Digest, Issue: 9127 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Apr 6 09:05:51 2006
Date: Thu, 6 Apr 2006 06:05:06 -0700 (PDT)
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, 6 Apr 2006 Volume: 10 Number: 9127
Today's topics:
Re: [VERY OT] Seeya all! <corff@zedat.fu-berlin.de>
Re: Looking for Perl hosting what support Catalyst <john@heathdrive.com>
Re: Looking for Perl hosting what support Catalyst <nospam@pp.com>
new CPAN modules at Thu Apr 6 04:39:04 2006 (Randal Schwartz)
new CPAN modules at Thu Apr 6 05:39:03 2006 (Randal Schwartz)
new CPAN modules at Thu Apr 6 08:39:10 2006 (Randal Schwartz)
new CPAN modules at Thu Apr 6 09:39:06 2006 (Randal Schwartz)
new CPAN modules at Thu Apr 6 11:39:04 2006 (Randal Schwartz)
new CPAN modules at Thu Apr 6 12:39:03 2006 (Randal Schwartz)
Re: Receiving SNMP traps <ced@blv-sam-01.ca.boeing.com>
Re: taint mode and require using "." <tadmc@augustmail.com>
XS progamming question <bol@adv.magwien.gv.at>
Re: XS progamming question <nospam-abuse@ilyaz.org>
Re: XS progamming question (Anno Siegel)
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 6 Apr 2006 05:56:17 GMT
From: <corff@zedat.fu-berlin.de>
Subject: Re: [VERY OT] Seeya all!
Message-Id: <49jos1FonqofU1@uni-berlin.de>
Michele Dondi <bik.mido@tiscalinet.it> wrote:
: >
: >I can't go on like this any more: I must take this f**ked up degree!
: Just done, Folks!
: ;-)
Well done.
Oliver.
--
Dr. Oliver Corff e-mail: corff@zedat.fu-berlin.de
------------------------------
Date: Thu, 6 Apr 2006 07:52:43 +0100
From: "John" <john@heathdrive.com>
Subject: Re: Looking for Perl hosting what support Catalyst
Message-Id: <ToqdndBq9q8rJ6nZnZ2dnUVZ8qidnZ2d@eclipse.net.uk>
<robic0> wrote in message news:22p8325hu8ouuofmmpt22266b59uadspe7@4ax.com...
> On Thu, 6 Apr 2006 02:30:41 +0200, "ThunderT" <nospam@ThunderT.tt> wrote:
>
>>Looking for Perl hosting what support Catalyst framework..
>>
>>very rare hosting companies support Catalyst!
>>
>>any advices?
>>
> You mean ATI Catalyst drivers? Or the Microbiology catalyst,
> or the epoxy resin catalyst, or the ....
> or the brain tumor growin in your head?
He means the Perl one. See the following the the documentation.
Catalyst::Manual::About Explanation (without code) of what Catalyst is and
why to use it.
Catalyst::Manual::Intro Introduction to Catalyst.
Catalyst::Manual::Tutorial A simple step by step tutorial.
Catalyst::Manual::Plugins Catalyst Plugins and Components.
Catalyst::Manual::Cookbook Cooking with Catalyst
Catalyst::Manual::WritingPlugins Writing plugins for Catalyst; the use of
NEXT.
Catalyst::Manual::Internals Here be dragons!
Catalyst::Manual::FAQ Frequently Asked Questions
Regards
John
------------------------------
Date: Thu, 6 Apr 2006 09:42:23 +0200
From: "PerlBoy" <nospam@pp.com>
Subject: Re: Looking for Perl hosting what support Catalyst
Message-Id: <e12gp2$h3j$1@ss405.t-com.hr>
"ThunderT" <nospam@ThunderT.tt>
> Looking for Perl hosting what support Catalyst framework..
>
> very rare hosting companies support Catalyst!
>
> any advices?
>
RE: my old favorite Catalyst framework Perl web hosting is:
http://www.maxipointservers.net
from $3.95 + free domain name and sure Catalyst supported! quality high..
I am sure my link we'll help..
------------------------------
Date: Thu, 6 Apr 2006 04:39:04 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules at Thu Apr 6 04:39:04 2006
Message-Id: <IxAA94.11o4@zorch.sf-bay.org>
This article was probably generated by a buggy news reader.
------------------------------
Date: Thu, 6 Apr 2006 05:39:03 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules at Thu Apr 6 05:39:03 2006
Message-Id: <IxAD13.154E@zorch.sf-bay.org>
SVG-Graph-Kit-0.00_4
http://search.cpan.org/~gene/SVG-Graph-Kit-0.00_4/
Simplified data plotting
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: Thu, 6 Apr 2006 08:39:14 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules at Thu Apr 6 08:39:10 2006
Message-Id: <IxALDE.1IHA@zorch.sf-bay.org>
Text-Hatena-0.12
http://search.cpan.org/~jkondo/Text-Hatena-0.12/
Perl extension for formatting text with Hatena Style.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: Thu, 6 Apr 2006 09:39:06 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules at Thu Apr 6 09:39:06 2006
Message-Id: <IxAo56.1LAD@zorch.sf-bay.org>
urpmi-4.8.18
http://search.cpan.org/~rgarcia/urpmi-4.8.18/
rpm downloader, installer and dependency solver
----
Sort-Maker-0.05
http://search.cpan.org/~uri/Sort-Maker-0.05/
A simple way to make efficient sort subs
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: Thu, 6 Apr 2006 11:39:04 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules at Thu Apr 6 11:39:04 2006
Message-Id: <IxAtp4.1xt3@zorch.sf-bay.org>
SNMP-Trapinfo-0.8.3
http://search.cpan.org/~tonvoon/SNMP-Trapinfo-0.8.3/
Reading an SNMP trap from Net-SNMP's snmptrapd
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: Thu, 6 Apr 2006 12:39:03 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules at Thu Apr 6 12:39:03 2006
Message-Id: <IxAwH3.21Hy@zorch.sf-bay.org>
Class-DBI-Plugin-Param-0.01
http://search.cpan.org/~naoya/Class-DBI-Plugin-Param-0.01/
Adding param() method to your CDBI object.
----
HTML-Widget-1.06
http://search.cpan.org/~cfranks/HTML-Widget-1.06/
HTML Widget And Validation Framework
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: Thu, 6 Apr 2006 11:40:39 GMT
From: Charles DeRykus <ced@blv-sam-01.ca.boeing.com>
Subject: Re: Receiving SNMP traps
Message-Id: <IxAtrt.4BB@news.boeing.com>
Olivier wrote:
> I'm looking for a module which can be used to receive SNMP traps.
>
> I wish that this module is compatible with ActivePerl 5.8.x.
>
Looking for ActiveState's pre-built's would be the easiest place to
start searching:
ppm> search SNMP
Searching in Active Repositories
...
hth,
--
Charles DeRykus
------------------------------
Date: Thu, 6 Apr 2006 07:47:54 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: taint mode and require using "."
Message-Id: <slrne3a3fq.ui0.tadmc@magna.augustmail.com>
robic0 <> wrote:
> Whats a taint mode?
perldoc perlsec
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Thu, 6 Apr 2006 10:29:01 +0200
From: "Ferry Bolhar" <bol@adv.magwien.gv.at>
Subject: XS progamming question
Message-Id: <1144312144.390343@proxy.dienste.wien.at>
Hi,
I want to pass a parameter to a XS module's BOOT routine, somewhat like
this:
myModule->bootstrap($VERSION, myprm);
and depending on the given parameter, execute different code in the boot
section,
particulary to define a Perl function with different XS functions, depending
on the
parameter given in the bootstrap call:
if (items == 3 && SvIOK(ST(2)) && SvIV(ST(2)) == 1)
{
newXS("myFunc",XS_myModule_func1,file);
}
else
{
newXS("myFunc",XS_myModule_func2,file);
}
All happens fine, but there is one problem:
xsubpp always generates code to call newXS() for func1 and func2,
and it generates the code _before_ my code gets executed. So my question is:
Similar to PPCODE in the module main section:, is there a way to tell xsubpp
that I want to generate the entire BOOT code by hand?
Another questions to globs (yes, I know, they are more or less useless in
Perl5, but I like these beasties!): a glob contains references to all
values.
This means, the statements:
$a = 3; *a = \3;
@a = (1,2,3); *a = [1,2,3];
%a = (key => 'val'); *a = {key => 'val'};
are the same (although they produce different op's)?
If this is true, what happens whit the following statement,
which is accepted by Perl (even with -w):
*a = 3;
Which value the glob does contain after this command?
And what exactly the ops 'gv', 'rv2gv' and 'rv2sv' will do?
MTIA and kind greetings form Vienna,
Ferry
--
Ing. Ferry Bolhar
Municipality of Vienna, Department 14
A-1010 Vienna / AUSTRIA
E-mail: bol@adv.magwien.gv.at
------------------------------
Date: Thu, 6 Apr 2006 08:40:56 +0000 (UTC)
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: XS progamming question
Message-Id: <e12k6o$6ms$1@agate.berkeley.edu>
[A complimentary Cc of this posting was sent to
Ferry Bolhar
<bol@adv.magwien.gv.at>], who wrote in article <1144312144.390343@proxy.dienste.wien.at>:
> I want to pass a parameter to a XS module's BOOT routine, somewhat like
> this:
>
> myModule->bootstrap($VERSION, myprm);
> and depending on the given parameter, execute different code in the boot
> section,
> particulary to define a Perl function with different XS functions, depending
> on the
> parameter given in the bootstrap call:
Why do you want to do it in C? Do it in Perl instead...
> This means, the statements:
>
> $a = 3; *a = \3;
>
> @a = (1,2,3); *a = [1,2,3];
>
> %a = (key => 'val'); *a = {key => 'val'};
>
> are the same (although they produce different op's)?
These have different semantic.
> Which value the glob does contain after this command?
-MDevel::Peek
> And what exactly the ops 'gv', 'rv2gv' and 'rv2sv' will do?
less *.c
Look for pp_gv() etc.
Hope this helps,
Ilya
------------------------------
Date: 6 Apr 2006 09:29:08 GMT
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: XS progamming question
Message-Id: <49k5b4Fp1njlU1@news.dfncis.de>
Ferry Bolhar <bol@adv.magwien.gv.at> wrote in comp.lang.perl.misc:
[snip XS question I don't want to answer]
> Another questions to globs (yes, I know, they are more or less useless in
> Perl5, but I like these beasties!): a glob contains references to all
> values.
>
> This means, the statements:
>
> $a = 3; *a = \3;
>
> @a = (1,2,3); *a = [1,2,3];
>
> %a = (key => 'val'); *a = {key => 'val'};
I would avoid using the special variable $a for experiments like this
though it doesn't appear to have an effect in this case.
> are the same (although they produce different op's)?
>
> If this is true, what happens whit the following statement,
> which is accepted by Perl (even with -w):
>
> *a = 3;
>
> Which value the glob does contain after this command?
3 is stringified and used as a symref, so the effect is the same
as
*a = *{ '3' };
though you need "no strict 'refs'" for the latter. More specifically,
it makes $main::a an alias to the capture variable $3:
'gigagack' =~ /(..)(..)(....)/;
print "$a\n";
prints "gack".
> And what exactly the ops 'gv', 'rv2gv' and 'rv2sv' will do?
If you can't find explicit documentation for a function, there is
always the source. "rv2gv" and "rv2sv" are in pp.c (as "pp_rv2gv" and
"pp_rv2sv"). What is "gv"?
Anno
--
If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
------------------------------
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 9127
***************************************