On Wed, 2 Aug 2000 12:51:10 -0400, John Porter wrote:
>> At the risk getting too exotic how about:
>>
>> #<<EOC;
>> some
>> comments
>> EOC
>
>Just introduce a new function which is a bit bucket:
>
> # works in perl5.
> sub comment(@) { }
>
> comment q{ comments... };
"Function"? Who needs a function?
<<END_OF_COMMENT;
This is comment!
And more...
END_OF_COMMENT
Apart from the warning "Useless use of a constant in void context", it
works.
--
Bart.
- Re: Typeglobs, filehandles, asterisks Chaim Frenkel
- multiline comments Michael Mathews
- Re: multiline comments Tom Christiansen
- Re: multiline comments Tom Christiansen
- Re: multiline comments Michael Mathews
- Re: multiline comments Tom Christiansen
- Re: multiline comments Michael Mathews
- Re: multiline comments Buddha Buck
- Re: multiline comments Michael Mathews
- Re: multiline comments John Porter
- Re: multiline comments Bart Lateur
- Re: multiline comments John Porter
- Re: multiline comments Peter Scott
- Re: multiline comments John Porter
- Re: multiline comments John Porter
- Re: multiline comments Tom Christiansen
- Re: multiline comments Nick Ing-Simmons
- Re: multiline comments Michael Mathews
- Re: multiline comments Tom Christiansen
- Re: multiline comments Michael Mathews
- Re: multiline comments Tom Christiansen
