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
Download (untitled) / with headers
text/plain 853b
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
Download Tcl-1.27-alist.diff
text/x-diff 13.2k

Message body is not shown because it is too large.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.