|Subject:||Getopt::Attributes under PPed file|
When compiling a simple app using "pp -o foo input_file.pl", I've noticed that Getopt::Attributes doesn't seem to work on the compiled files. (e.g. I can specify the option on the command line, but it doesn't get passed in to the script). In the attached example, it works fine under "normal" perl, but having complied it under "pp" it will always print "got foo unset" even when an argument is passed in via "-foo". I am on perl 5.8.5, PAR 0.87, and Getopt::Attributes 1.3.2/1.3.3 on Linux 2.4.20-31.9smp. Getopt::Attributes is a pretty simple attributes-based wrapper aroung Getopt::Long, so I wouldn't be surprised if the issue is a more generic attribute or Attribute::Handlers problem, though I have not tested this hypothesis. Thanks! -JAS
Message body not shown because it is not plain text.