Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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.

Replies are listed 'Best First'.
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?
[choroba]: Also, try asking at IRC
[usemodperl]: corion baby you have done nothing of the sort
[usemodperl]: asking how to download from cpan with core perl via http is unreasonable???
[Corion]: usemodperl: No, asking is not unreasonable. Insisting that it must always keep working for you is unreasonable.
[Corion]: But again, you haven't explained why your users need to download, or why they need to download via http, or why you can't host the SSL-stripper yourself.
[choroba]: Wait a second. Does shutting down search.cpan.org mean the cpan clients can no longer use their urllist?
[usemodperl]: i'm under no obligation to explain myself mommy, and i'm not insisting, just asking a simple question
[Veltro]: So, I'm confused on the matter actually. There are locked-down computers, but they need updates. How does that work? Isn't that contradictary?
[usemodperl]: EXACTLY
[usemodperl]: and the https only situation makes it even worse

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2018-06-24 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?