develooper Front page | perl.beginners | Postings from August 2009

FW: two questions

Thread Next
From:
Bryan R Harris
Date:
August 6, 2009 08:15
Subject:
FW: two questions
Message ID:
C6A05DD3.352EA%Bryan_R_Harris@raytheon.com

>> According to the FAQ you want to do it like this:
>> 
>> s/^\s+//, s/\s+$// for $var;
 

I can't find documentation of this notation anywhere, i.e. the comma between
statements with a trailing for.
 
John, where do you find all this cool stuff?
 
- Bryan




Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About