Hi Juan,

Some extra information would help: could you paste the full error message?  
Line numbers, etc.  What version of PDL are you using?  wcsv2D is from 
PDL::IO::CSV, which is not part of the main PDL distribution (and I have never 
used it), but perhaps somebody on the list could be more helpful if you provide 
some extra information.

You are correct, there does not seem to be a conditional expression in the code 
you have provided.  Typically that error message occurs with code such as:

pdl> $matrix = sequence(5,5); $pdl = xvals(5)

pdl> print $matrix && $pdl      
multielement piddle in conditional expression

when what was meant was 

pdl> print $matrix & $pdl

[
 [0 1 2 3 4]
 [0 0 2 0 0]
 [0 1 0 1 4]
 [0 0 0 2 0]
 [0 1 2 3 0]
]


cheers,
Derek

> On Apr 19, 2015, at 8:12 PM, Juan Daniel Montenegro Cabrera 
> <[email protected]> wrote:
> 
> Hello all,
> 
> I am quit new at pdl but have been following it for a few years now. Cut to 
> the chase:
> 
> I am receiving a complain when trying to write a fairly large 2D pdl (25K x 
> 25K matrix):
> 
> multielement piddle in conditional expression
> 
> The offending line is:
> 
> wcsv2D($matrix, $out, {header => $array_ref})
> 
> I have run this command before and it works pretty well for other matrices up 
> to 20K x 20K.
> 
> I cannot see what is the conditional expression here, but I would be grateful 
> if you could point me in the right direction.
> 
> Best regards,
> 
> Juan Montenegro
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF_______________________________________________
> pdl-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pdl-general


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to