Yes I did try this but I still get the error message about line 4. What is wrong with Usage: The only reason I re-posted it was so that I included my entire code because what he wrote on the line after line 4 was the same as mine. The second posting was also more clear on what I am trying to do, that is why I posted it twice.I am very new to programming and I very new to forums....
[QUOTE=gooop]I am new to perl. I am having trouble with this code line I wrote. On thef fourth line I keep getting this message when I go to run this. . Please any advice would help.I am using TextPad, and window xp pro os.This program is suppose to make a modified copy of a text file. In the copy ,every string Fred should be replaced with Larry. I want to have the input filename at the command line. But everytime I go to run this I get the error...
[QUOTE=gooop]I am new to perl. I am having trouble with this code line I wrote. On thef fourth line I keep getting this message when I go to run this. . Please any advice would help.I am using TextPad, and window xp pro os.This program is suppose to make a modified copy of a text file. In the copy ,every string Fred should be replaced with Larry. I want to have the input filename at the command line. But everytime I go to run this I get the error...
I am new to perl. I am having trouble with this code line I wrote. On the third line I keep getting this message when I go to run this. This is just the first part of the code. Please any advice would help.I am using TextPad, and window xp pro os.
Usage:C:\Perl\c h1\ filename at C:\Perl\ch1\ line 4, <> line 1.
Press any key to continue . . .
Leave a comment: