sarathi.mh has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I am a student, learning perl. I came across CHOMP operator.
In many references I saw this statement. " This command returns the total number of characters removed from all its arguments"
I am confused with this statement.
1. Is the "value" referred here is the total number of new lines or white spaces which follow that variable
2. If so in which location does it stores this value.
3. Can we access this "value" by using any command.
please correct me if I am wrong.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Chomp Command
by toolic (Bishop) on Sep 17, 2010 at 18:39 UTC | |
by sarathi.mh (Initiate) on Sep 17, 2010 at 18:53 UTC | |
|
Re: Chomp Command
by kennethk (Abbot) on Sep 17, 2010 at 18:43 UTC | |
|
Re: Chomp Command
by TomDLux (Vicar) on Sep 17, 2010 at 20:11 UTC | |
|
Re: Chomp Command
by jwkrahn (Abbot) on Sep 17, 2010 at 18:47 UTC |