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

Re: File:Find doing weird stuff

by idsfa (Vicar)
on Mar 23, 2006 at 05:55 UTC ( #538657=note: print w/replies, xml ) Need Help??


in reply to File:Find doing wierd stuff

wanted wants a reference to a sub ...

find ({wanted => \&wanted }, $arg);

See the docs and perlref for more info. Your error message is telling you that the value of &wanted (namely, true aka 1) is not a reference ...


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://538657]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-07-28 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (432 votes). Check out past polls.