Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Do you know where your variables are?
 
PerlMonks  

Re: Linked Lists and Perl

by Velaki (Chaplain)
on Sep 28, 2006 at 14:09 UTC ( #575356=note: print w/ replies, xml ) Need Help??


in reply to Linked Lists and Perl

I wondered about it too, and then I realized that one could implement Scheme in Perl, which means one could even implement Prolog in Perl.

Sometimes list processing concepts (LISP and its kin) are the way to go, especially when needing to model complex graphs. And in any case, using an AoA or AoH, or any of the other variants tends to exploit a kind of linked list already.

If you want to go one step further, you can implement a true CONS cell using Perl.

Just my thoughts,
-v

"Perl. There is no substitute."


Comment on Re: Linked Lists and Perl
Re^2: Linked Lists and Perl
by jdporter (Canon) on Sep 28, 2006 at 15:19 UTC
    Good point! In fact, it's been done. ;-)
Re^2: Linked Lists and Perl
by diotalevi (Canon) on Sep 29, 2006 at 18:38 UTC

    Prolog in perl? Sure! AI::Prolog.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://575356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-04-18 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (462 votes), past polls