[Za-pm] loop adding \n to array ??

Tielman de Villiers tvilliers at lastminute.com
Thu Jun 29 01:35:21 PDT 2006


On Thu, 2006-06-29 at 08:56 +0200, Gregory Machin wrote:
> thanks for the alternative methode.
> 
> but why does this not work  .....
> if ($_ =~ /^\+\w+/i ){ push(@del_files, $_); $_ = "0"; } # filter and
> pass files starting with + to @del_files for removale
>     
>     #print "$_";
>     if ($_ ne "0"){  <<<<<<<<<<<< why is this logic still creating "\

try if ( $_ != 0 ) {


--tielman



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


More information about the Za-pm mailing list