12.05.2015 Views

Documentación

Documentación

Documentación

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sentencias de control<br />

Instrucciones de control<br />

• Condicionales múltiples<br />

• PERL no tiene sentencias para tomar decisiones múltiples, pero se pueden<br />

usar si se pone al comienzo del programa: use switch<br />

• La sintaxis es:<br />

switch:{<br />

if (expresion1) bloque<br />

if (expresion2) bloque<br />

if (expresion3) bloque<br />

bloque<br />

}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!