Re: Ordering string of commands in a file
- From: "Paul Lalli" <mritty@xxxxxxxxx>
- Date: 31 Dec 2005 10:28:33 -0800
Raghuramaiah Gompa wrote:
> This sorting must be done
> only for a part of the text that is between the
> line that contain [Buttons] and someother line that
> starts with [ (it could be [Directories] or [Files]).
> Rest of the document should be copied as it is. I tried
> several ways and failed :(
You generally get more helpful responses if you post what you
attempted, explain how it failed, and allow us to help you fix your
attempt, rather than simply claiming that you tried, and asking for the
solution outright.
> Please help.
Look up the "flip-flop" operator (which is the range operator, but used
in a scalar context) in
perldoc perlop
Paul Lalli
.
- References:
- Ordering string of commands in a file
- From: Raghuramaiah Gompa
- Re: Ordering string of commands in a file
- From: Dave Weaver
- Re: Ordering string of commands in a file
- From: Raghuramaiah Gompa
- Ordering string of commands in a file
- Prev by Date: FAQ 3.8 Is there a pretty-printer (formatter) for Perl?
- Next by Date: Net::FTP can't locate object method "new"
- Previous by thread: Re: Ordering string of commands in a file
- Next by thread: Happy New Year
- Index(es):