est has asked for the wisdom of the Perl Monks concerning the following question:
Anyone can shed a light for me please?if ($line =~ m{\A Job: }xms) { $job_details_info{Job} = $line; } elsif ($line =~ m{\A File: }xms) { push @files, $line; } elsif ($line =~ m{\A Image }xms) { $job_details_info{Image} = $line; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multiple If Selections
by kyle (Abbot) on Jan 07, 2008 at 04:52 UTC | |
|
Re: Multiple If Selections
by McDarren (Abbot) on Jan 07, 2008 at 04:07 UTC | |
by friedo (Prior) on Jan 07, 2008 at 05:33 UTC | |
by McDarren (Abbot) on Jan 07, 2008 at 06:07 UTC | |
|
Re: Multiple If Selections
by bobf (Monsignor) on Jan 07, 2008 at 04:21 UTC | |
by dsheroh (Monsignor) on Jan 07, 2008 at 17:46 UTC | |
by bobf (Monsignor) on Jan 07, 2008 at 18:26 UTC | |
|
Re: Multiple If Selections
by ysth (Canon) on Jan 07, 2008 at 04:37 UTC | |
|
Re: Multiple If Selections
by est (Acolyte) on Jan 07, 2008 at 06:30 UTC |