El constructo elsif nos permite 
abreviar un else seguido de un if.
Asi escribimos:
if (/__END__/) { last }  elsif (/LHP/) { print }
en vez de:
if (/__END__/) { last; }  
else { 
  if (/LHP/) { print; } 
}
Casiano Rodríguez León

Principios de Programación Imperativa, Funcional y Orientada a Objetos Una Introducción en Perl/Una Introducción a Perl
por Casiano Rodríguez León 
is licensed under a Creative Commons Reconocimiento 3.0 Unported License.
Permissions beyond the scope of this license may be available at http://campusvirtual.ull.es/ocw/course/view.php?id=43.
2012-06-19