Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Traversing through files to read a variable

by NetWallah (Abbot)
on Dec 18, 2013 at 06:12 UTC ( #1067595=note: print w/ replies, xml ) Need Help??


in reply to Traversing through files to read a variable

        How do I implement this functionality.

Smells like homework.

You can implement this by writing a program, preferably in perl, to OPEN a file, READ the contents, and PARSE it (the split function is useful here).

Once parsed, you can assign the components to variables as necessary. Open additional files based on the information in the variables.

If, after you have read the documentation, and tried to implement this, you have difficulty with some portion of it, please return here , and explain what you have tried, post the code, even if it does not work, explain what you expect it do do, and we will be glad to assist you with it.

             When in doubt, mumble; when in trouble, delegate; when in charge, ponder. -- James H. Boren


Comment on Re: Traversing through files to read a variable

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-12-29 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls