Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2015-10-06 18:40 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (158 votes), past polls