15.03.2020 Views

perl-language-es

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

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

Capítulo 35: Texto atribuido

Examples

Imprimiendo texto en color

#!/usr/bin/perl

use Term::ANSIColor;

print color("cyan"), "Hello", color("red"), "\tWorld", color("green"), "\tIt's Me!\n",

color("reset");

Lea Texto atribuido en línea: https://riptutorial.com/es/perl/topic/5922/texto-atribuido

https://riptutorial.com/es/home 104

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

Saved successfully!

Ooh no, something went wrong!