On 06/12/13 02:28, lee wrote:
Yes, I've been looking at descriptions like that and I don't know perl
well enough to understand them.
...
This is why I was looking for an example so I can see how these things
are being used.

Does this make sense?

2013-06-12 15:51:48 dpchrist@desktop ~/sandbox/perl
$ cat Digest.pl
#!/usr/bin/perl
use Digest::MD5 qw(md5_hex);
use File::Slurp;
for (@ARGV) {
    print "$_: ", md5_hex(read_file $_), "\n";
}

2013-06-12 15:51:51 dpchrist@desktop ~/sandbox/perl
$ perl Digest.pl cgi*.pl
cgi_cookie.pl: 073a858f3e7c7d8461743f758bc99a76
cgi_header.pl: 99b11f007ed9efceb3b500b8a30e0558
cgi_param.pl: 25b88f62883301d08554cd5707e00d10
cgi_redirect.pl: 69622c750a131d00b1c30c553fc7d916

>  I wanted to learn perl for ages and never got around to it.  Now I'm
> finding it extremely useful, and I'm learning it the wrong way by not
> starting at the beginning ...

I learned Perl from three books:

    http://www.mail-archive.com/beginners@perl.org/msg115211.html

HTH,

David

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to