Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: PNG to ASCII ?

by Hue-Bond (Priest)
on Oct 17, 2006 at 05:11 UTC ( [id://578665]=note: print w/replies, xml ) Need Help??


in reply to Re^2: PNG to ASCII ?
in thread PNG to ASCII ?

can be simplified to
my @master_ascii = (qw(W M 0 @ N & , ' - . `), ' ');

Preceded by a no warnings 'qw' to avoid the compilation-time warning Possible attempt to separate words with commas.

--
David Serrano

Replies are listed 'Best First'.
Re^4: PNG to ASCII ?
by ikegami (Patriarch) on Oct 17, 2006 at 05:21 UTC
    oh, right! I forgot about that. In this case, the following works particularly well since you can really see the progressions of ...brightness?
    my @master_ascii = split //, q(WM0@N&,'-.` );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found