Problem with charset in embperl 2

2003-09-11 Thread ckassab
Hi all: i have this file: this is the title special chars in spanish: áéíóú if i save this file using UTF-8 and i get it using embperl 2 i see this: special chars in spanish: áéíóà if i save the file using ISO-8859-1 everything works fine(but what happen with thecharset?). if i change an

creative use of $row, $col in tables

2003-09-11 Thread Richard Schilling
Just wanted to share this technique and see how others achieve the same thing. Anyone else doing something similar or have a better trick? Here's some code that creates a nice, compact table definition around a set of tuples returned from a database (in this case gnucash). [- $oldmaxcol = $maxc

Re: [$ sub $] return

2003-09-11 Thread Kee Hinckley
At 10:05 PM +1000 9/10/03, Angus Lees wrote: [$sub$]'s don't have useful return values. you have to do something like: [- my $output; Execute({inputfile => 'modules.epl', sub => 'hello', output => \$output}); die $output; -] The way I simulate return values in subs is to stuff a value