Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

inkdroid (3294)

inkdroid
  (email not shown publicly)
http://www.inkdroid.org/
AOL IM: inkdroid (Add Buddy, Send Message)
Yahoo! ID: summe_e (Add User, Send Message)
Jabber: inkdroid

inkdroid is a person, not a robot. however, inkdroid likes ink. inkdroid likes perl too.

Journal of inkdroid (3294)

Saturday September 13, 2003
08:36 PM

psh

[ #14687 ]

On a tip from autrijus I took a look at psh again (perl shell). Last time I looked it didn't catch my fancy...but my how things have changed. The full power of a familiar shell, (cmd line completion etc) plus all the power of Perl at your fingertips. I feel like psh is going to make the amount of one off programs that are scattered all over the file system rapidly diminish.

Just as an example, I wanted to look at the comments inside some image files I had.

% use Image::Magick;
% $i = Image::Magick->new();
% forfiles *.jpg ( $i->read( $_ ); print $i->get( 'Comment' ),"\n"; }

That's all from the command line, and this is just the tip of the iceberg! psh is the most fun I've had in Perl for a while.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.