Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Generate thumbnail and small overstruck images for web publication

by blazar (Canon)
on Sep 19, 2005 at 13:18 UTC ( #493153=note: print w/ replies, xml ) Need Help??


in reply to Generate thumbnail and small overstruck images for web publication

I gave just a quick look at your program. I have just a {question,suggestion}: why print and exit instead of die? Well, maybe you don't want it to fail... also I would use an HERE doc in this case:

die <<"EOMESSAGE" unless @ARGV; Begin long message... ... End long message EOMESSAAGE


Comment on Re: Generate thumbnail and small overstruck images for web publication
Download Code
Re^2: Generate thumbnail and small overstruck images for web publication
by GrandFather (Cardinal) on Sep 19, 2005 at 19:27 UTC

    Fair comment. It's the C/C++ shining through I guess :). I seldom think of HERE docs, but that would be a much tider way to do that.

    In actual use the script is accessed through a desktop short cut and the folders to be processed are drag and dropped onto the short cut. The print could probably be replaced with POD.


    Perl is Huffman encoded by design.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://493153]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-12-28 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls