Advertisement

06.07.2008 at 12:11AM PDT, ID: 23465718
[x]
Attachment Details

Perl script question

Asked by Blue_Lotus in Perl Programming Language

What does this in Perl do :
@$array1=map{defined $_ ? $_ : 'X' }  @$array1   ;

Thanks in advance.

Start Free Trial
[+][-]06.07.2008 at 12:18AM PDT, ID: 21734529

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Sign Up Now!
Solution Provided By: ozo
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628