From: Jeff 'japhy' Pinyan <[EMAIL PROTECTED]>
> On Jan 14, yun yun said:
> 
> >I only know use "#" to note one line, but how about
> >several lines?
> 
> You can wrap it in Pod.
> 
>   # this is in Perl
>   $foo = 1;
> 
>   =pod
> 
>   these lines of code are not seen by the compiler
>   so you can comment out huge blocks of code here
> 
>   # not in Perl
>   $foo = 2;
> 
>   =cut
> 
>   # back to Perl
>   print $foo;  # 1, not 2

Well this is a bit problematic. The stuff could end up in the 
documentation.

I use

        =for comment
        some('code', $I, "want");
        $to->comment('out');
        =cut

Jenda

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
                                        --- me

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to