-----Original Message-----
        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of raj
esh
        Sent: Wednesday, June 13, 2007 10:38 AM
        
         
        Here is my sample script...which i am running on windows.
         
        use strict;
        use warnings;
        my $result = system ( "date");
         
        Now Date command returns me one more command prompt on which i
have to enter current date(means need to enter another command) how do i
enter one more command.

perl -e "system('date < nul');"
 
Although I don't know why you'd want to do that.  There are much better
ways to get the system date.
 
--
Henry

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to