Jeffro Tull has asked for the wisdom of the Perl Monks concerning the following question:
Any help would be greatly appreciated. Thanks.if ($FORM{'from'} ne $theword) { $FORM{'from'} =~ s/($sep|^\s*)//sg; $FORM{'from'} =~ s/(\0|`|\.?\.\\|\.?\.\/)//sg; $FORM{'fstname'} =~ s/($sep|^\s*|^htm$|\s*$)//sg i +f $FORM{'fstname'}; $FORM{'fstname'} =~ s/(\0|`|\.?\.\\|\.?\.\/)//sg; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Substitution Loop
by blakem (Monsignor) on Dec 08, 2001 at 01:32 UTC | |
|
Re: Substitution Loop
by danboo (Beadle) on Dec 08, 2001 at 00:48 UTC | |
by Jeffro Tull (Novice) on Jan 08, 2002 at 17:35 UTC | |
|
Re: Substitution Loop
by RandallB (Initiate) on Jan 08, 2007 at 16:15 UTC | |
by Anonymous Monk on Jan 09, 2014 at 15:31 UTC |