Skip Menu |

This queue is for tickets about the Tcl CPAN distribution.

Report information
The Basics
Id: 132735
Status: new
Priority: 0/
Queue: Tcl

People
Owner: Nobody in particular
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.27
Fixed in: (no value)



Subject: tie'ing Perl arrays to Tcl lists
First are foremost: Tcl is an excellent package, working very well! I would like to propose adding an option to tie Perl arrays to Tcl lists, in cases where I know that certain Tcl variables are treated as lists. I saw there is Tcl::List, but I wasn't sure whether I could just add to that, so I created Tcl::AList ("ArrayList"); please find the patch attached, including documentation and test, plus some typo fixes in Tcl.pm, as a bonus :) Feel tree to change the package name. I'd be happy if this contribution would make it to the next release. Side note: I welcome the availability of SplitList(), but haven't found the opposite; I think that $tcl->invoke('list', @list).'' does what I want, but perhaps a method like MakeList() could be provided for this purpose. Many thanks, please keep up the good work, and best regards, Marek marekr@cpan.org
Subject: Tcl-1.27-alist.diff

Message body is not shown because it is too large.