[31248] in Perl-Users-Digest
Perl-Users Digest, Issue: 2493 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Jun 26 21:09:40 2009
Date: Fri, 26 Jun 2009 18:09:07 -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 Fri, 26 Jun 2009 Volume: 11 Number: 2493
Today's topics:
Re: Calling 'C' routines from perl. <prathap.bgl@gmail.com>
new CPAN modules on Fri Jun 26 2009 (Randal Schwartz)
Posting Guidelines for comp.lang.perl.misc ($Revision: tadmc@seesig.invalid
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 26 Jun 2009 00:07:51 -0700 (PDT)
From: Prathap <prathap.bgl@gmail.com>
Subject: Re: Calling 'C' routines from perl.
Message-Id: <df9ed505-16ba-4cf6-bb8c-bf56930baf42@d7g2000prl.googlegroups.com>
On Jun 26, 5:59=A0am, Ben Morrow <b...@morrow.me.uk> wrote:
> Quoth Prathap <prathap....@gmail.com>:
>
> > On Jun 26, 1:44=A0am, Tad J McClellan <ta...@seesig.invalid> wrote:
> > > Prathap <prathap....@gmail.com> wrote:
> > > > =A0 Can someone let me know how to invoke a 'C' routine from perl.
>
> > > =A0 =A0 perldoc -q ' C '
>
> > > =A0 =A0 =A0 =A0 Where can I learn about linking C with Perl?
>
> > Thanks for all the suggestions. Can you please explain with an example
> > why and how swig is useful?
>
> I would stay away from SWIG. Its primary purpose is to create bindings
> for lots of different languages from one source file, and IME perl
> extensions built with SWIG (e.g. the SVN bindings) tend to be somewhat
> awkward to use.
>
> > How do I make C libraries and finally infoke them from Perl. It will
> > be of great quick help for me.
>
> You give the impression that you haven't even written the C yet. You
> need to do that first, and here is not the place to ask for help with
> that. If you don't have a library that you know how to invoke from C,
> you haven't a hope of invoking it from Perl.
>
> You also need to read some of the documentation you have been pointed
> at, and try writing something for yourself. You will not get any useful
> help here until you say something like 'I wrote an XS/Inline::C file
> that looks like this, and I expected X, but I got Y instead'.
>
> Ben
I will do that. Just wanted a simplified introduction to the concepts.
Thanks for the referances you all have provided and I hope to get
things moving quickly. Will come back if any queries on my
experiments.
Regards,
Prathap
------------------------------
Date: Fri, 26 Jun 2009 04:42:29 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Fri Jun 26 2009
Message-Id: <KLtx2t.uwo@zorch.sf-bay.org>
The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN). You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
distribution.
Acme-CPANAuthors-Taiwanese-0.05
http://search.cpan.org/~gugod/Acme-CPANAuthors-Taiwanese-0.05/
We are Taiwanese CPAN Authors!
----
Acme-LOLCAT-0.0.5
http://search.cpan.org/~kcowgill/Acme-LOLCAT-0.0.5/
SPEEK LIEK A LOLCATZ
----
Bio-SamTools-1.00
http://search.cpan.org/~lds/Bio-SamTools-1.00/
----
CGI-Application-Util-Diff-1.00
http://search.cpan.org/~rsavage/CGI-Application-Util-Diff-1.00/
Diff 2 directories or files, or run other commands
----
CPAN-Mini-Visit-0.07
http://search.cpan.org/~adamk/CPAN-Mini-Visit-0.07/
A generalised API version of David Golden's visitcpan
----
Catalyst-Action-REST-0.72
http://search.cpan.org/~hdp/Catalyst-Action-REST-0.72/
Automated REST Method Dispatching
----
Catalyst-Authentication-AuthTkt-0.11
http://search.cpan.org/~karman/Catalyst-Authentication-AuthTkt-0.11/
shim for Apache::AuthTkt
----
Catalyst-Model-Xapian-0.04
http://search.cpan.org/~mramberg/Catalyst-Model-Xapian-0.04/
Catalyst model for Search::Xapian.
----
Catalyst-Plugin-ConfigComponents-0.4.109
http://search.cpan.org/~pjfl/Catalyst-Plugin-ConfigComponents-0.4.109/
Creates components from config entries
----
Catalyst-Plugin-PageCache-0.22
http://search.cpan.org/~mramberg/Catalyst-Plugin-PageCache-0.22/
Cache the output of entire pages
----
CatalystX-LeakChecker-0.01
http://search.cpan.org/~flora/CatalystX-LeakChecker-0.01/
Debug memory leaks in Catalyst applications
----
CatalystX-LeakChecker-0.02
http://search.cpan.org/~flora/CatalystX-LeakChecker-0.02/
Debug memory leaks in Catalyst applications
----
Class-DOES-1.00
http://search.cpan.org/~bmorrow/Class-DOES-1.00/
Provide a simple ->DOES override
----
Config-Model-Xorg-1.104
http://search.cpan.org/~ddumont/Config-Model-Xorg-1.104/
Xorg configuration model for Config::Model
----
DB-0.004
http://search.cpan.org/~cnangel/DB-0.004/
Lib of DB Query
----
DBIx-Class-Schema-PopulateMore-0.05
http://search.cpan.org/~jjnapiork/DBIx-Class-Schema-PopulateMore-0.05/
An enhanced populate method
----
DBIx-Class-Schema-PopulateMore-0.06
http://search.cpan.org/~jjnapiork/DBIx-Class-Schema-PopulateMore-0.06/
An enhanced populate method
----
Date-Piece-v0.0.3
http://search.cpan.org/~ewilhelm/Date-Piece-v0.0.3/
efficient dates with Time::Piece interoperability
----
File-Find-Object-0.2.2
http://search.cpan.org/~shlomif/File-Find-Object-0.2.2/
An object oriented File::Find replacement
----
File-Find-Object-Rule-0.0300
http://search.cpan.org/~shlomif/File-Find-Object-Rule-0.0300/
Alternative interface to File::Find::Object
----
File-List-Object-0.189
http://search.cpan.org/~csjewell/File-List-Object-0.189/
Object containing a list of files (filelist, packlist).
----
File-LocalizeNewlines-1.11
http://search.cpan.org/~adamk/File-LocalizeNewlines-1.11/
Localize the newlines for one or more files
----
HTML-Calendar-Monthly-0.03
http://search.cpan.org/~jv/HTML-Calendar-Monthly-0.03/
A very simple HTML calendar
----
HTML-DOM-0.025
http://search.cpan.org/~sprout/HTML-DOM-0.025/
A Perl implementation of the HTML Document Object Model
----
HTML-Template-Convert-TT-0.04
http://search.cpan.org/~mbait/HTML-Template-Convert-TT-0.04/
translates HTML::Template syntax into Template Toolkit
----
HTML-Widgets-NavMenu-1.0302
http://search.cpan.org/~shlomif/HTML-Widgets-NavMenu-1.0302/
A Perl Module for Generating HTML Navigation Menus
----
Kwiki-Attachments-0.20
http://search.cpan.org/~sue/Kwiki-Attachments-0.20/
Kwiki Page Attachments Plugin
----
LEOCHARRE-Debug-1.02
http://search.cpan.org/~leocharre/LEOCHARRE-Debug-1.02/
debug sub
----
Locale-Msgfmt-0.02
http://search.cpan.org/~rsn/Locale-Msgfmt-0.02/
Compile .po files to .mo files
----
Locale-Msgfmt-0.03
http://search.cpan.org/~rsn/Locale-Msgfmt-0.03/
Compile .po files to .mo files
----
Locale-Msgfmt-0.04
http://search.cpan.org/~rsn/Locale-Msgfmt-0.04/
Compile .po files to .mo files
----
Locale-Msgfmt-0.05
http://search.cpan.org/~rsn/Locale-Msgfmt-0.05/
Compile .po files to .mo files
----
MooseX-AttributeHelpers-0.20
http://search.cpan.org/~sartak/MooseX-AttributeHelpers-0.20/
Extend your attribute interfaces
----
MooseX-Role-Parameterized-0.10
http://search.cpan.org/~sartak/MooseX-Role-Parameterized-0.10/
parameterized roles
----
MooseX-Runnable-0.00_02
http://search.cpan.org/~jrockway/MooseX-Runnable-0.00_02/
tag a class as a runnable application
----
Net-OAuth-0.17
http://search.cpan.org/~kgrennan/Net-OAuth-0.17/
OAuth protocol support
----
Net-OAuth-0.18
http://search.cpan.org/~kgrennan/Net-OAuth-0.18/
OAuth protocol support
----
Net-ParSCP-0.15
http://search.cpan.org/~casiano/Net-ParSCP-0.15/
Secure transfer of files between clusters via SSH
----
ORDB-CPANMeta-Generator-0.03
http://search.cpan.org/~adamk/ORDB-CPANMeta-Generator-0.03/
Generator for the CPAN Meta database
----
ORLite-1.23
http://search.cpan.org/~adamk/ORLite-1.23/
Extremely light weight SQLite-specific ORM
----
POE-Component-Cron-0.02
http://search.cpan.org/~cfedde/POE-Component-Cron-0.02/
Schedule POE Events using a cron spec
----
PPIx-EditorTools-0.04
http://search.cpan.org/~szabgab/PPIx-EditorTools-0.04/
Utility methods and base class for manipulating Perl via PPI
----
PadWalker-1.8
http://search.cpan.org/~robin/PadWalker-1.8/
play with other peoples' lexical variables
----
Padre-0.37
http://search.cpan.org/~szabgab/Padre-0.37/
Perl Application Development and Refactoring Environment
----
Perl-Critic-1.099_001
http://search.cpan.org/~elliotjs/Perl-Critic-1.099_001/
Critique Perl source code for best-practices.
----
Rose-DBx-Object-Builder-0.04
http://search.cpan.org/~danny/Rose-DBx-Object-Builder-0.04/
Database Table Schema Generation for Rose::DB::Object
----
Syntax-Highlight-Perl-0.64
http://search.cpan.org/~azawawi/Syntax-Highlight-Perl-0.64/
----
Syntax-Highlight-Perl6-0.64
http://search.cpan.org/~azawawi/Syntax-Highlight-Perl6-0.64/
Perl 6 Syntax Highlighter
----
Tempest-v2009.6.25_1
http://search.cpan.org/~evank/Tempest-v2009.6.25_1/
Flexible temperature-map/heat-map generator
----
Test-TempDatabase-0.15
http://search.cpan.org/~bosu/Test-TempDatabase-0.15/
temporary database creation and destruction.
----
Test-Weaken-2.003_005
http://search.cpan.org/~jkegl/Test-Weaken-2.003_005/
Test that freed memory objects were, indeed, freed
----
XML-GenericJSON-0.02
http://search.cpan.org/~melonman/XML-GenericJSON-0.02/
for turning XML into JSON, preserving as much XMLness as possible.
----
Xcruciate-0.20
http://search.cpan.org/~melonman/Xcruciate-0.20/
libraries for perl scripts in and around the Xcruciate server project.
----
anarch-0.01
http://search.cpan.org/~sprout/anarch-0.01/
A script for creating offline copies of websites
----
asterisk-perl-1.00
http://search.cpan.org/~jamesgol/asterisk-perl-1.00/
----
jmx4perl-0.20_4
http://search.cpan.org/~roland/jmx4perl-0.20_4/
JMX acccess tools and modules
----
latest-0.03
http://search.cpan.org/~andya/latest-0.03/
Use the latest Perl features
----
libwww-perl-5.828
http://search.cpan.org/~gaas/libwww-perl-5.828/
----
stat_agent-0.09
http://search.cpan.org/~mkoderer/stat_agent-0.09/
----
stat_agent-0.10
http://search.cpan.org/~mkoderer/stat_agent-0.10/
If you're an author of one of these modules, please submit a detailed
announcement to comp.lang.perl.announce, and we'll pass it along.
This message was generated by a Perl program described in my Linux
Magazine column, which can be found on-line (along with more than
200 other freely available past column articles) at
http://www.stonehenge.com/merlyn/LinuxMag/col82.html
print "Just another Perl hacker," # the original
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
------------------------------
Date: Fri, 26 Jun 2009 02:12:55 -0500
From: tadmc@seesig.invalid
Subject: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.9 $)
Message-Id: <56udnVqwUp5q6dnXnZ2dnUVZ_jednZ2d@giganews.com>
Outline
Before posting to comp.lang.perl.misc
Must
- Check the Perl Frequently Asked Questions (FAQ)
- Check the other standard Perl docs (*.pod)
Really Really Should
- Lurk for a while before posting
- Search a Usenet archive
If You Like
- Check Other Resources
Posting to comp.lang.perl.misc
Is there a better place to ask your question?
- Question should be about Perl, not about the application area
How to participate (pos
------------------------------
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 V11 Issue 2493
***************************************