in reply to a dumb question
(If the quoting wasn't preserved, the | would generate an error)#!/usr/bin/perl -w use strict; my $foo = sprintf("\"|%s\"",'Bar'); print $foo, "\n"; my $bar = qx{echo $foo}; print $bar, "\n";
So it really looks like it isn't the qx{} that is introducing the error, although it still many not be passing what you expect...Could you show us an example of the expected output?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: a dumb question
by Motley (Initiate) on Dec 05, 2000 at 02:43 UTC | |
by runrig (Abbot) on Dec 05, 2000 at 03:46 UTC | |
by Motley (Initiate) on Dec 05, 2000 at 03:00 UTC |