bschmer has asked for the wisdom of the Perl Monks concerning the following question:
or evencommand1 param1=value1 param2=value2 command2 param3=value3 param4=value4
there are some other constructs in the "language" but those are the basics. The problem is that I'd like to be able to intersperse Perl amongst the commands such that I can have "scripts" such asparallel { command1 param1=value1 param2=value2 command2 param3=value3 param4=value4 }
without changing the format of files that don't have embedded Perl code.command1 param1=value1 param2=value2 <?perl if ($last_command_status == FAIL){ ?> debugging_command debug_param1=debug_value1 <?perl } ?> command2 param1=value1 param2=value2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Intermixed perl?
by Corion (Patriarch) on Nov 09, 2007 at 14:33 UTC | |
by sg (Pilgrim) on Nov 11, 2007 at 16:34 UTC | |
|
Re: Intermixed perl?
by suaveant (Parson) on Nov 09, 2007 at 14:36 UTC | |
|
Re: Intermixed perl?
by jbert (Priest) on Nov 09, 2007 at 16:37 UTC | |
by halley (Prior) on Nov 09, 2007 at 17:48 UTC | |
by jbert (Priest) on Nov 09, 2007 at 18:17 UTC | |
|
Re: Intermixed perl?
by Porculus (Hermit) on Nov 09, 2007 at 18:15 UTC |