title: Is there a Perl module to replace Argparse module in Python programming?
body: <p>To remove a language dependency, I need to use any module or code to handle command line argument in Perl. Earlier I was using the Python <strong>Argparse</strong> module to handle the command line arguments.</p>
  
  <p>My Python code with argparse module:</p>
  
  <pre><code>import argparse
  
  default_database_config='config/database.config'
  default_general_config = 'config/general.config'
  commandLineArgumentParser = argparse.ArgumentParser()
  commandLineArgumentParser.add_argument("-dconfig", "--dconfigaration", help="Database Configuration file name", default=default_database_config)
  commandLineArgumentParser.add_argument("-gconfig", "--gconfigaration", help="General Configuration file name", default=default_general_config)
  commandLineArguments = commandLineArgumentParser.parse_args()
  
  database_config_file = commandLineArguments.dconfigaration
  general_config_file = commandLineArguments.gconfigaration
  </code></pre>
  
  <p>How do I convert the above Python code to Perl code?</p>