in reply to What does this mean?

It is objecting to

dKitResults->convertCitifile2Dataset('pathToFile'[,'setName']);

That looks like you misunderstood the documentation. Instead of 'pathToFile' you should have the actual file path there. The notation [,'setName'] indicates that setName is an optional parameter. I am thinking you need to put the dataset name there.

1 Peter 4:10

Replies are listed 'Best First'.
Re^2: What does this mean?
by hakim-djz (Novice) on Jul 08, 2014 at 15:47 UTC

    Hi Peter! No I know that, was just putting that there to illustrate. Here's the documentation I am trying to follow: http://hermes.eee.nott.ac.uk/teaching/ads/doc/dkver/dkver049.html#1123011

    As well it tries to connect to a server which works of bins in the ADS suite directroy. I've just copied them to the Strawberry Perls and it WORKS. But not using the syntax with square brackets. e.g:

    use strict; use warnings; use dKitCircuit; use dKitResults; my $dir = "build-2"; opendir DIR, $dir or die "cannot open dir $dir: $!"; my @file= readdir DIR; closedir DIR; #dKitResults->convertCitifile2Dataset('build-2/wafer_807_T1_ME_build2_ +dcbk.cti'[,'choclate']); #it specifies to use this, but couldn't get +it to work, so tried the below statement dKitResults->convertCitifile2Dataset('build-2/wafer_807_T1_ME_build2_d +cbk.cti','choclate'); #WORKS