Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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


Comment on Re: File:Find doing weird stuff
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2015-08-31 19:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (361 votes), past polls