Search results

  1. K

    Perl grouping program, help needed!!?

    Im not sure where to start with this perl assignment. Here's the question: Write a grouping program. It takes a file and a positive integer N as input. Each line of the file contains a person's name. The program goes through the input file from beginning to end, and forms groups of N members...
  2. K

    Perl, how to remove line numbers?

    I'm having trouble writing code for this perl assignment. Here's the question: Write a program that removes line numbers in a program listing. Here is a sample input: 1 print( "Enter a number: " ); 2 $number = <>; 3 chomp( $number ); 4 5 print "$number is an even number\n" if $number %2==0...
Back
Top