Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Multi-line comments in perl code?

by TheDamian (Priest)
on Jul 15, 2006 at 00:23 UTC ( #561373=note: print w/replies, xml ) Need Help??


in reply to Re^3: Multi-line comments in perl code?
in thread Multi-line comments in perl code?

Ow. Would it be too much to ask that it accept any sequence of opening brackets
Not to much to ask at all. At least, not as long as you can be satisfied with multiple repetitions of the same delimiter character. From the latest update of Synopsis 2:
  • For all quoting constructs that use user-selected brackets, multiple, adjacent, identical opening brackets must always be matched by an equal number of adjacent closing brackets. Bracket counting naturally applies only to sets of brackets of the same length:
        say #{{
            Comment contains unmatched } and { { { { plus a counted {{ ... }} pair.
        }} q<< <<woot>> >>   # says "<<woot>>"
  • Comment on Re^4: Multi-line comments in perl code?

Replies are listed 'Best First'.
Re^5: Multi-line comments in perl code?
by PetaMem (Priest) on Jul 17, 2006 at 06:46 UTC
    Awww, that will break my Emacs folding-mode (folding.el), which assumes folding start # {{{ and folding end # }}}

    Bye
     PetaMem
        All Perl:   MT, NLP, NLU

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://561373]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-12-04 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (67 votes). Check out past polls.