Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Help using Find::File::name

by 7stud (Deacon)
on Nov 27, 2010 at 23:29 UTC ( [id://874039]=note: print w/replies, xml ) Need Help??


in reply to Help using Find::File::name

Spelling counts; it's $File::Find::name, and you can certainly assign the string to a variable--afterall $File::Find::name is just the name of a scalar variable itself (see the $ sign?). If you declare a variable in your program, like $full_path, the variable's real name is $main::full_path. So there is nothing special about $File::Find::name--it's just a regular ole variable, albeit it's declared in another file. When you write: use File::Find you are telling perl to look for a directory called File, which contains a file named Find. Inside the file Find.pm, you will find the declaration of the variable $name.

Replies are listed 'Best First'.
Re^2: Help using Find::File::name
by Anonymous Monk on Nov 28, 2010 at 03:29 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found