Don't ask to ask, just ask | |
PerlMonks |
Re: Error while running PERL in windowsby NetWallah (Canon) |
on Apr 12, 2016 at 05:08 UTC ( [id://1160188]=note: print w/replies, xml ) | Need Help?? |
It appears that you are trying to run the command 'bpimagelist -A -media -hoursago', and parse the output. You need to first "quote" the string, and then understand how perl handles the "\" (backslash) character, which has a special meaning inside a double-quoted string. It is very difficult to determine what you are attempting, because you have not used <code> tags., but here is a guess at at one way to achieve what your first command is trying:
This is not an optical illusion, it just looks like one.
In Section
Seekers of Perl Wisdom
|
|