What is the difference between system and echo in calling the unix commands from perl? how else can the unix commands be called in perl?
???
yes. Can you tell me how can unix commands be called inside perl?
Thanks Yazu
you can use,
system() command for executes the system commands
you can use print command insted of `echo` for write expres/values
in perl.
I try to write a simple script maybe this will help you 
!#/usr/bin/perl -w
print "what is your fav shell? ";
$shell = <STDIN>;
print "Execute a new $shell (y/n) ? ";
$choice = <STDIN>;
if ($choice eq "y\n")
{ print "Executing new shell\n"; system("$shell"); }
elsif ($choice eq "n\n")
{ print "Exiting\n"; }
$write="perl script completed!!";
system ("echo $write");
$echo = `echo $write`;
print $echo;
regards
ygemici