Skip to main content
added 10 characters in body
Source Link
Gowtham
  • 571
  • 1
  • 4
  • 5

Perl - 152152 146 bytes

$h="$_="-hundreds were a time for";say"The eighteen$heighteen$_ rum.\nThe nineteen$hnineteen$_ fun.\nThe two-thousands are a time to run\na civilized classroom.\n"x(length$h); y///c

This makes use of perl's string repetition operator and exploits a substring of length 25.

Ungolfed version:

$h="$_ = "-hundreds were a time for";
say "The eighteen$heighteen$_ rum.\nThe nineteen$hnineteen$_ fun.\nThe two-thousands are a time to run\na civilized classroom.\n" x (length\n"x $h);y///c

Perl - 152 bytes

$h="-hundreds were a time for";say"The eighteen$h rum.\nThe nineteen$h fun.\nThe two-thousands are a time to run\na civilized classroom.\n"x(length$h);

This makes use of perl's string repetition operator and exploits a substring of length 25.

Ungolfed version:

$h="-hundreds were a time for";
say "The eighteen$h rum.\nThe nineteen$h fun.\nThe two-thousands are a time to run\na civilized classroom.\n" x (length $h);

Perl - 152 146 bytes

$_="-hundreds were a time for";say"The eighteen$_ rum.\nThe nineteen$_ fun.\nThe two-thousands are a time to run\na civilized classroom.\n"x y///c

This makes use of perl's string repetition operator and exploits a substring of length 25.

Ungolfed version:

$_ = "-hundreds were a time for";
say "The eighteen$_ rum.\nThe nineteen$_ fun.\nThe two-thousands are a time to run\na civilized classroom.\n"x y///c
added 190 characters in body
Source Link
Gowtham
  • 571
  • 1
  • 4
  • 5

Perl - 152 bytes

$h="-hundreds were a time for";say"The eighteen$h rum.\nThe nineteen$h fun.\nThe two-thousands are a time to run\na civilized classroom.\n"x(length$h);

This makes use of perl's string repetition operator and exploits a substring of length 25.

Ungolfed version:

$h="-hundreds were a time for";
say "The eighteen$h rum.\nThe nineteen$h fun.\nThe two-thousands are a time to run\na civilized classroom.\n" x (length $h);

Perl - 152 bytes

$h="-hundreds were a time for";say"The eighteen$h rum.\nThe nineteen$h fun.\nThe two-thousands are a time to run\na civilized classroom.\n"x(length$h);

This makes use of perl's string repetition operator and exploits a substring of length 25.

Perl - 152 bytes

$h="-hundreds were a time for";say"The eighteen$h rum.\nThe nineteen$h fun.\nThe two-thousands are a time to run\na civilized classroom.\n"x(length$h);

This makes use of perl's string repetition operator and exploits a substring of length 25.

Ungolfed version:

$h="-hundreds were a time for";
say "The eighteen$h rum.\nThe nineteen$h fun.\nThe two-thousands are a time to run\na civilized classroom.\n" x (length $h);
Source Link
Gowtham
  • 571
  • 1
  • 4
  • 5

Perl - 152 bytes

$h="-hundreds were a time for";say"The eighteen$h rum.\nThe nineteen$h fun.\nThe two-thousands are a time to run\na civilized classroom.\n"x(length$h);

This makes use of perl's string repetition operator and exploits a substring of length 25.