Hi,
<newbie>
Can someone provide clarification on what mixing languages will look like in practice, or point me to where its explained?
Can you really do this:
#!/usr/bin/perl6
use __Python::sys; # whatever syntax
sys.stdout.write( 'hi there'); # perl6 syntax matches python syntax here, I think
And this:
#!/usr/bin/ponie
use __Python::sys; use __Python::string;
my $hi = __Python::string->upper( 'hi' ) sys->stdout->write( $hi ); # HI
my $upper_func = __Python::string->upper # does this call the
# function with no args (perlish)
# or return it (pythonish)
Please let me know if this is all wrong. I just can't visualize it.
Thanks, Richard