in reply to perlembed - limit on size of variable being passed to perl from C
The Perl stack will hold the pointer to (the pointer to...) the large buffer just fine. If malloc() won't choke, then Perl shouldn't either.
- tye