"be consistent" | |
PerlMonks |
Re: Parser for C/C++ application using Getopt::Declare and Convert::Binary::Cby roboticus (Chancellor) |
on Feb 12, 2011 at 18:33 UTC ( [id://887785]=note: print w/replies, xml ) | Need Help?? |
sg: I'm afraid I don't get it. With your proposal, it appears to be a lot more hassle than required. Why would I want to use this instead of getopt()? It seems that you need to keep your C program and your perl script in synch; you need to write your argument list twice (once to pass to perl, once to get it back), and you need to parse the data twice (again, once in perl and once in C). What are the selling points? ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Cool Uses for Perl
|
|