Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

How does Lingua::tlhInganHol::yIghun work?

by Logicus (Initiate)
on Jul 26, 2011 at 11:52 UTC ( [id://916740]=perlquestion: print w/replies, xml ) Need Help??

Logicus has asked for the wisdom of the Perl Monks concerning the following question:

Ok, this is way out of my league, but surely if it's possible to make perl understand this :

use Lingua::tlhInganHol::yIghun; <<'u' nuqneH!\n>> tIghItlh! { wa' yIQong! Dotlh 'oH yIHoH yInob qoj <mIw Sambe'> 'oH yIHegh jay'! <Qapla'!\n> yIghItlh! } jaghmey tIqel!

Then it follows that it is also possible to make Perl understand this :

#!/usr/bin/perl use Modern::Perl; use aXML::Perl; <use>actions/<qd>action</qd>/body.aXML</use>

I want to learn how to make this happen. I will do all the leg work, I'm not asking for anyone to do my work for me, but as it stands I have no idea how to effect the workings of Perl as deeply as this, so my question my dear monks, is where do I start on the path to making the above a reality for myself and for anyone else that wants to use it?

My ambition is to make the aXML::Perl module do everything that is needed to make a comfortable development environment for building up systems within; including persistent database connection, automatic handling of query data, session management, and all the other goodies that make life easy once established. Such that the remainder of the site can be built out of aXML markup files and Perl plugin definition files which extend the aXML tagset Perl understands.

Replies are listed 'Best First'.
Re: Out of my league
by Anonymous Monk on Jul 26, 2011 at 12:00 UTC

    I want to learn how to make this happen

    I guess in all your years of experience you never heard Use The Source Luke

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: How does Lingua::tlhInganHol::yIghun work?
by Anonymous Monk on Jul 26, 2011 at 12:10 UTC
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: How does Lingua::tlhInganHol::yIghun work?
by bluescreen (Friar) on Jul 26, 2011 at 13:11 UTC

    The module Lingua::tlhInganHol::yIghun is using Filter::Simple basically all that module does set up callback a function (FILTER) for a module ( let's say MyLingua ) and that function is called when a piece of code uses MyLingua. If you read the source code of Lingua::tlhInganHol::yIghun you'll see a big FILTER function with the contents of the parser. The parser transforms Klingon into Perl.

Re: How does Lingua::tlhInganHol::yIghun work?
by kejohm (Hermit) on Jul 27, 2011 at 03:28 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://916740]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found