[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[FWP] C-style comments.



[Also posted on clpm]

Sometimes peope ask for 'comments like they have in C'. It turns out
that you can have comments like that in Perl:


    #!/opt/perl/bin/perl -w

    use strict;

    ;<<' */'=~m>>;

    /*
     * Put your comments here.
     */

    print "Hello, world!\n";
    __END__


Abigail

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe