in reply to Limit long words and numbers
I know this is simple but...
Great, fill in the blanks
#!/usr/bin/perl -- use strict; use warnings; my $input = '...'; my $wantedOutput = '..'; my $actualOutput = limitLongWordsAndNumbers( $input ); if( $actualOutput eq $wantedOutput ){ print "Success!\n"; } else { print "Failure!\n"; } sub limitLongWordsAndNumbers { @_ }
|
|---|