manishrathi has asked for the wisdom of the Perl Monks concerning the following question:
open(file, "apache.txt") ; @modify = <file> ; print @modify ; foreach(@modify){ chomp($_); $_ =~ s/^is$/are/g ; } print @modify ; print "this is new print" ;
Apache is a modular server. This implies that only the most basic func +tionality is included in the core server. is it so ? Extended features are available through modules which can be loaded in +to Apache. By default, a base set of modules is included in the server at compile-time. If the server is compiled to u +se dynamic ally loaded modules, then modules can be compiled separately and added at any time using the LoadModule directi +ve. Otherw ise, Apache must be recompiled to add or remove modules. Configuration directives may be included conditional o +n a presen ce of a particular module by enclosing them in an <IfModule> block.
Apache is a modular server. This implies that only the most basic func +tionality is included in the core server. is it so ? Extended features are avail +able throu gh modules which can be loaded into Apache. By default, a base set of +modules is included in the server at compile-time. If the server is compiled to + use dynam ically loaded modules, then modules can be compiled separately and add +ed at any time using the LoadModule directive. Otherwise, Apache must be recompi +led to add or remove modules. Configuration directives may be included condition +al on a pr esence of a particular module by enclosing them in an <IfModule> block +. this is new print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex is not producing desired output
by ahmad (Hermit) on Jan 23, 2010 at 20:54 UTC | |
| |
|
Re: regex is not producing desired output
by ikegami (Patriarch) on Jan 23, 2010 at 20:55 UTC | |
|
Re: regex is not producing desired output
by toolic (Bishop) on Jan 23, 2010 at 20:56 UTC | |
|
Re: regex is not producing desired output
by planetscape (Chancellor) on Jan 23, 2010 at 23:00 UTC | |
by manishrathi (Beadle) on Jan 24, 2010 at 21:54 UTC | |
by ikegami (Patriarch) on Jan 26, 2010 at 06:15 UTC | |
by planetscape (Chancellor) on Jan 25, 2010 at 07:48 UTC | |
by manishrathi (Beadle) on Jan 26, 2010 at 00:37 UTC | |
by ikegami (Patriarch) on Jan 26, 2010 at 06:07 UTC | |
by ikegami (Patriarch) on Jan 26, 2010 at 06:13 UTC | |
by Khen1950fx (Canon) on Jan 25, 2010 at 09:56 UTC | |
by Khen1950fx (Canon) on Jan 26, 2010 at 05:42 UTC |