Re: Print OUT in [$ sub $]

2004-01-27 Thread Carlos Kassab
Neil: What you can do is to enter the name of the sub as a html comment, like this: And it is useful to me, to see in the html output waht subroutine generate the html code. Carlos Kassab Neil Gunton wrote: Hi Gerald, I found another case that doesn't work as expected in 2.0b10: [$ sub x

Re: Print OUT in [$ sub $]

2004-01-27 Thread Gerald Richter
Neil Gunton wrote: > Hi Gerald, > > I found another case that doesn't work as expected in 2.0b10: > > > [$ sub $] > >[- > my ($self) = @_; > > print OUT "Hello world"; >-] > > [$ endsub $] > > This is a simplified example, but it doesn't print anything. When the > routine is redone as

Re: Print OUT in sub [2.0b7]: bug?

2002-04-07 Thread Gerald Richter
Hello, > > I get a strange behavior when I use a sub that does not contain any [++] > block: > > - > [$ sub definedSub $] > [#+ 'hello' +#] > [- print OUT " IN ROUTINE\n"; -] > [$ endsub $] > Here is the output of the routine