Files
archived-presentations/slides/scripting/perl.example.xml
2003-07-20 15:16:28 +00:00

25 lines
446 B
XML

<slide title="Perl Example">
<image filename="onion.jpg" marginright="1.0em" align="right"/>
<blurb>
An example program that downloads a webpage.
</blurb>
<blurb>
First install the LWP package via CPAN:
</blurb>
<example fontsize="1.2em" type="shell">
vivaldi:~# perl -MCPAN -e "install 'LWP';"
</example>
<blurb>
Then you can do the following:
</blurb>
<example
fontsize="1.2em"
type="perl"
filename="http.pl"/>
</slide>