Re: Multiline comment in Perl
[email protected] ("Octavian Rasnita")
| Newsgroups | perl.beginners |
|---|---|
| Message-ID | <003f01c8bb78$23037d40$c2a2b451@teddy> |
From: "Dr.Ruud" <[email protected]> > Variant: > > sub half { > return unless defined $_[0]; > return $_[0] / 2; > > q/* > Returns > $val > divided > by 2 > */ > } > > q/* > This is > a multi- > line comment. > */ if 0; > > -- > Affijn, Ruud Another variant: use strict; use warnings; q/* This is a multi- line comment. */||0; Octavian