At 11:02 PM +0100 9/8/04, Richard Jolly wrote:
Hi,

<newbie>

Can someone provide clarification on what mixing languages will look like in practice, or point me to where its explained?

It's not explained anywhere. Besides, it's syntax, and we don't do syntax. :)

It'll likely be something like:

  #! /usr/bin/perl
  $foo = <<EOP
    for foo in range(10):
      print foo
  EOP
  $bar = eval $foo, "Python";

give or take. I doubt you'll see people mixing languages in source files that often -- more likely you'll use library modules, and those modules will be in perl 5 /perl 6/ python/ ruby/ tcl/ cola/ assembly/ forth/ postscript/ befunge/ intercal/ applescript/ whatever.
--
Dan


--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to