Re: Some VMS errors in DBI trunk

"Craig A. Berry" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
In article <[email protected]>,
 [email protected] ("Martin J. Evans") wrote:

> On 09/09/10 15:18, Martin J. Evans wrote:

> > v20 $ perl -I[.blib.lib] -I[.blib.arch] [.t]19fhtrace.t
> > 1..27
> > ok 1 - use DBI;
> > Can't set DBI::db=HASH(0x38c68c)->{PrintWarn}: unrecognised attribute or 
> > invalid
> >  value at /perl_root/lib/site_perl/DBD/ExampleP.pm line 230.
> > # Looks like you planned 27 tests but ran 1.
> > # Looks like your test exited with 1024 just after 1.
> > %SYSTEM-F-ABORT, abort
> 
> This one was down to the fact that those -Is on the command line are not 
> working.

Depending on your VMS version you can 

$ define DECC$ARGV_PARSE_STYLE ENABLE

to preserve the case of command-line arguments, or, on any VMS version, 
use double quotes like so:

$ perl -"I[.blib.lib]" -"I[.blib.arch]" [.t]19fhtrace.t
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.