Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Extending a Parse::RecDescent grammar for inline comments

by bronto (Priest)
on Aug 20, 2010 at 08:20 UTC ( #856204=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        parameter=value
        values="may also be quoted"
    
  2. or download this
        parameter=value1
        parameter=value2
        parameter=value3
        
        ; that would result in parameter = ( value1, value2, value3 )
    
  3. or download this
        parameter=({
                    ([
    ...
                    }),
                    "Hooray!",
                  })
    
  4. or download this
    # $Id: g3.txt,v 1.14 2010/07/23 12:41:24 bronto Exp bronto $
    
    ...
        # - a scalar (if QuotedString or Number)
        $return = $item[1] ;
      }
    
  5. or download this
        parameter="value" ; like this
        
    ...
                     "value2",     ; also
                     "value3",     ; like
                     "value4", })  ; this
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://856204]
Approved by moritz
Front-paged by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2023-01-31 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?