Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^4: Dynamic option

by ikegami (Patriarch)
on Mar 16, 2011 at 06:19 UTC ( #893501=note: print w/replies, xml ) Need Help??

in reply to Re^3: Dynamic option
in thread Dynamic option

You'll need a different parser.

Replies are listed 'Best First'.
Re^5: Dynamic option
by Anonymous Monk on Mar 16, 2011 at 12:14 UTC

    OP should look into Getopt::Euclid. It will provide to specify optional "sub options", in terms of plain old strings. Based on presence of those strings, run the code as you would desire. I would guess one would access a sub option, for example, as $ARGV{-input}->{-nd}.

    I personally do not want to deal with G::Euclid due to much stuffing of POD.

Re^5: Dynamic option
by Anonymous Monk on Mar 16, 2011 at 06:25 UTC

    Can you suggest any other idea on how can I achieve it?any idea which parser can do that?perl cannot do that?

      There probably isn't an existing one. Your needs are unique. (Which should lead you to question them!)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://893501]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2023-09-30 12:11 GMT
Find Nodes?
    Voting Booth?

    No recent polls found