Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: file header change

by tmharish (Friar)
on Feb 05, 2013 at 10:42 UTC ( #1017118=note: print w/ replies, xml ) Need Help??


in reply to Re^2: file header change
in thread file header change

, but its not working..

I am not surprised.

Why do you have the same function defined twice? The second time inside the first??

Create two functions, one to get the file name and the other to read the file, modify the contents and print it

CALL the functions

And finally try to run your code and get rid of the syntax errors.


Comment on Re^3: file header change
Re^4: file header change
by utpalmtbi (Acolyte) on Feb 05, 2013 at 11:20 UTC
    got it.. thanks tmharish for ur cooperation..

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-08-30 08:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls