On Friday 09 July 2004 04:26, Ricardo SIGNES wrote: > * [EMAIL PROTECTED] [2004-07-09T07:20:57] > > > How would I empty $string if it contained more than ten % > > characters? In other words > > $string = "" if split(/%/, $string) > 10;
That will produce the warning: Use of implicit split to @_ is deprecated at ... line ... John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>