Hi
I am writing a script that uses backquotes and the ps-ef command to print
the UID and command for all currently running processes.
#!/usr/bin/perl
use strict;
my $process = `ps -ef`;
while (<>);{
push @process = spilt (/\|/,$_);
print "Owner:[1] command:[8]
where did I go wrong?
thanks,
DJ
___
Hi,
I am trying to write a script that reads names fron standard input and
matches it to a key in a given table and prints out the name and key
Enter a first name or " ", to exit
chomp { $name = };
while $name ne " "
if $name is in @given_table
then
print "$name maps to $value in given_table"
Hi all,
I am a novice to perl. I find Perl very interesting and I am studying how to
write and compile perl scripts without syntax and compilation errors. I need
heads up on how.
thanks,
DJ
_
MSN 8 helps eliminate e-mail viruses. G