in reply to Re^2: Changing the first word to uppercase in thread Changing the first word to uppercase
The arguments from the command line are passed in via the @ARGV array. You can either write your own code to handle the args or parse them w/ Getopt::Std
And by the way, since you're doing this from Linux -- if there's no particular reason you need to do this in Perl, you can check into the utility sed, which was written to do this sort of thing, and will save you some typing.
Re^4: Changing the first word to uppercase
by Anonymous Monk on Feb 14, 2008 at 01:01 UTC
|
I was working with "sed" but it didnt give me the right answer indeed or i couldnt figure it out well!!! thats why i could only find the perl way.... | [reply] |
|
But you aren't finding anything, your are asking others to find it for you and not even trying to understand whats going on
| [reply] |
|