in reply to Re^2: backticks and quotation trouble in bash
in thread backticks and quotation trouble in bash
again ...qx/nslookup $1/ ... should do.
> why does the awk example work?
no nested backticks?
> are ways of calling bash from perl
exactly, thats the ill thing about your construct, your calling perl from bash to call a system command.
Cheers Rolf
UPDATE:
> No commentary on the fact that I should just write the whole program in perl, please. I would if I could.
LOL. This is a Perl help board, if you're not interested to learn our solutions you should consider hiring someone who does the tricky things for you.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: backticks and quotation trouble in bash
by floobit (Initiate) on Dec 18, 2012 at 15:47 UTC | |
by Tommy (Chaplain) on Dec 18, 2012 at 16:29 UTC | |
Re^4: backticks and quotation trouble in bash
by floobit (Initiate) on Dec 18, 2012 at 16:03 UTC | |
by CountZero (Bishop) on Dec 18, 2012 at 23:04 UTC |
In Section
Seekers of Perl Wisdom