On Jul 4, 5:59 pm, knowsuperunkn...@gmail.com (Unknown User) wrote:
> Hi all,
>
> I have written a script that uses ipc::run on an array, like this,
> based on a previous post here:
>
> m...@host101: cat ipc
> #!/usr/bin/perl -w
> use strict;
> use IPC::Run qw/run/;
> my (@hosts,@cmd,$task);
> @hos
On Jul 7, 4:32 am, chas.ow...@gmail.com ("Chas. Owens") wrote:
> On Wed, Jul 7, 2010 at 06:57, Srinivasa Chaitanya
> T wrote:
> > Thanks that solves the my question. Also I want a write function similar to
> > "map" for hash.
> > I can use map itself for that, but I have to refer the hash variable
On Jul 4, 5:59 pm, knowsuperunkn...@gmail.com (Unknown User) wrote:
> Hi all,
>
> I have written a script that uses ipc::run on an array, like this,
> based on a previous post here:
>
> m...@host101: cat ipc
> #!/usr/bin/perl -w
> use strict;
> use IPC::Run qw/run/;
> my (@hosts,@cmd,$task);
> @hos
Jeff Pang wrote:
@y=map {$_."\n"} @x;
Why write it that ugly? Whitespace is cheap, "$_\n" looks more readable
to me (and no need for a "slower" block, though that is optimized away
in the new perls anyway).
--
Ruud
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional c
Unknown User wrote:
I have written a script that uses ipc::run on an array, like this,
based on a previous post here:
I see no usage of "ipc::run" there, did you maybe mean "IPC::Run"?
m...@host101: cat ipc
#!/usr/bin/perl -w
use strict;
use IPC::Run qw/run/;
my (@hosts,@cmd,$task);
@hosts
Shlomi Fish wrote:
On Friday 02 Jul 2010 17:29:27 Dr.Ruud wrote:
sdDirtySox wrote:
I want to use a perl script that will look at all the files in a
directory to find an instance of a function and replace it with
another. I have the code in place to look at all the files in a
directory and to