utf-8 header in CGI script

2004-04-18 Thread Jan Eden
Hi all, I followed the recent thread on Unicode output, but I still have a question. When writing static XHTML files, I use to indicate the character set. This works fine. But when generating output, this method does not work. I have to use: print $q->header(-type=>'text/html', -charset=>'ut

Problems declaring variables in external packages

2004-04-18 Thread Richard Heintze
I'm using these statements in my main program: use DisplayPCE qw($order $fnx ); ... print join("", map { qq[$_] } @{$DisplayPCE::order}); ... When I use the debugger, I find that order is undefined! When I use the browser to view the page, the value of undef is confirmed. When I abandon package

Re: Problems declaring variables in external packages

2004-04-18 Thread Wiggins d'Anconia
Richard Heintze wrote: I'm using these statements in my main program: use DisplayPCE qw($order $fnx ); ... print join("", map { qq[$_] } @{$DisplayPCE::order}); ... When I use the debugger, I find that order is undefined! When I use the browser to view the page, the value of undef is confirmed.

Re: Problems declaring variables in external packages

2004-04-18 Thread Randy W. Sims
Wiggins d'Anconia wrote: Richard Heintze wrote: I'm using these statements in my main program: use DisplayPCE qw($order $fnx ); ... print join("", map { qq[$_] } @{$DisplayPCE::order}); ... When I use the debugger, I find that order is undefined! When I use the browser to view the page, the valu