From: Robert E. <rm...@ya...> - 2002-03-28 14:48:20
|
btw... doing XMLTV developing on Win2k isn't that bad (at least if know and use CYGWIN's Unix tools). That's how I do tv_check. --- Robert Kulagowski <rku...@th...> wrote: > OK, one problem down, another to go. I can now get the program > to list out all the "single" values; I hardcoded to list the > [0][0] element which gives me the english title (at least here in > NA), The correct method is to use ::Lingua and something like tv_check's get_text ( I think a standard routine is being put in XMLTV.pm ) to work with all languages. XMLTV is striving to be language neutral, you should probably too. Plus there is no guarantee that the frist entry will be English. > Can a perl guru just let me know what's the magic string (which > to me is probably going to look like the winner in the obfuscated > C contest) that's going to allow me to access the previously > shown data? print "\nPreviously shown: ", ($GUIDE[$i]{"previously-shown"} ? "YES\n" : "NO\n" ), The pointer to the hash return false if it doesn't have a value, TRUE otherwise. No need to care what the contents are. Robert __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ |