Re: Call perl subroutine from $int->Eval
[email protected] ("Christopher Chavez") Fri, 6 Dec 2019 16:50:22 +0100
| Newsgroups | perl.tcltk |
|---|---|
| Message-ID | <trinity-ef755062-1ce1-42e8-8000-9e7a76f744ee-1575647422779@3c-app-mailcom-bs10> |
Sent:=C2=A0Thursday, December 05, 2019 at 3:31 PM From:=C2=A0"welle ozean via tcltk" <tcltk@perl=2Eorg> To:=C2=A0tcltk@perl=2Eorg Subject:=C2=A0Call perl subroutine from $int->Eval > Is there a way to call a=C2=A0Perl=C2=A0subroutine from within the=C2=A0= $int->Eval? Yes, see https://metacpan=2Eorg/pod/Tcl#Accessing-Perl-from-within-Tcl Tcl=2Epm creates a Tcl command `::perl::Eval` which accepts a string conta= ining the Perl syntax to be evaluated=2E Christopher A=2E Chavez