Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: A Semi-automatic word search solver

by toolic (Bishop)
on Sep 25, 2009 at 14:21 UTC ( [id://797519]=note: print w/replies, xml ) Need Help??


in reply to A Semi-automatic word search solver

fun++

You could use qw to cut down on typing and reduce clutter:

my @puzzle = ( [qw(r e l a e d b y)], [qw(e s c r e e n t)], [qw(m i o e i s h l)], [qw(i s l a t e r a)], [qw(t n u r c n n u)], [qw(r g m u a i h s)], [qw(o u b m t h a a)], [qw(m e o a n c c c)] );
our @end = undef;
In this case, you could use my instead of our, and there is no need for undef
my @end;

Replies are listed 'Best First'.
Re^2: A Semi-automatic word search solver
by The Hindmost (Scribe) on Sep 25, 2009 at 14:25 UTC
    Glad you liked it, and thanks for those bits of advice.

Log In?
Username:
Password:

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

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

    No recent polls found