At 16.52 -0400 1999.05.27, Allan Greenier wrote: >sub removeLeadingTrailingDoubleSpaces(){ ># Too many arguments for main::removeLeadingTrailingDoubleSpaces, near >"$searchItem)" >File '<AppleEvent>'; Line 183 ># Execution of <AppleEvent> aborted due to compilation errors. You are using an empty prototype, which means you won't be passing any data. Remove the (). See perlsub for more details. Also, the reason it worked at one point is because it got called before the prototype was seen. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org