I was trying to wrap my head around a small Tk UI I was whipping up for a project. This is a RPC app, but I was just doing the UI part inbetween writing a few documents.
On my Windows machines, I have ActivePerl 5.8.2 and 5.8.6 respectively. I tried the following:
print "You pressed $distroNames[$down->[0]] \n";and it passed. No warnings, no errors. I was running with -w and use strict as usual.
The server-daemon was being written by someone else. He was working on Debian Sarge; with a packaged Perl 5.8.4. On that machine, the code above fails. Can't use a string literal..
Enclosing the inner arrayref dereference in single quotes fixes it in Debian. Either way, my ActivePerl installs didn't care. What gives?
Also, an aside but I can't believe I hadn't discovered Frontier::RPC before I was shown its' many wonders in that application. Now I'm left wondering how many times I reinvented that particular wheel instead of just checking CPAN.
-Dom
Re:RPC::XML
tinman on 2005-09-19T12:14:12
I am interested indeed. I was already planning on a refactoring of some of my earlier code to use a module instead of my own implementation.
Thanks for the pointer.