On Tue, Sep 16, 2003 at 08:08:36PM -0700, Corey Edwards wrote:
> 
>   $ perl -e 'use MIME::Base64; while ($_=<>){ \
>     print decode_base64($_); }' >image.jpg
> 

Hmmm.... perl wizards out there:  would there be any difference between
that command and this one:

$ perl -MMIME::Base64 -n -e 'print decode_base64($_);' > image.jpg

It works when I test it.  Is there any way to get rid of the '$_' as an
argument to decode_base64?

-- 
--------------------------------+-----------------------------------
Byron Clark                     |       http://www.byronandannie.net
[EMAIL PROTECTED]         | 
--------------------------------+-----------------------------------
GnuPG Fingerprint: 0365 6979 6C3E BC0C 56C0 FB7F 12B3 75DD 042B EA68

Attachment: pgp00000.pgp
Description: PGP signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to