I came across the inline package for allowing TCL commands to be
executed from within Perl.
Release note/readme seems to indicate that the Linux is the only one
supported/working. Are there plans to
allow this to work on other platforms such as Solaris or Windows OS ? or
maybe it is already working...
I have downloaded and install the inline-tcl, but how do i check that
the inline-tcl is correclty installed ?
C:\>perl p1.pl
Error. You have specified 'Tcl' as an Inline programming language.
I currently only know about the following languages:
C, Foo, foo
If you have installed a support module for this language, try deleting
the
config file from the following Inline DIRECTORY, and run again:
C:/_Inline
BEGIN failed--compilation aborted at p1.pl line 8.
C:\>
==========
C:\>more p1.pl
use Inline Tcl => <<END;
proc test1 { val1 } {
for {set j 1 } { $j <= $val1 } { incr j } {
puts $j
}
}
END
print "this is a test \n\n" ;
$result == test1(10) ;