Rusty Carruth <[EMAIL PROTECTED]> writes: > In bash, > > variable=`date` # use options if you want it to make more sense later. > > in PERL: > > my $now = system("date"); Whoops. That exectutes the date command but doesn't capture the output - the output still goes where it normally would (stdout). I think you meant: my $now = `date`; > or > > my $now = scalar localtime; Which may be better anyway, because it doesn't involve an extra process. {Bryan} -- Bryan Howard <[EMAIL PROTECTED]>
- [expert] extra special dialup script. Franki
- Re: [expert] extra special dialup script. Rusty Carruth
- Re[2]: [expert] extra special dialup script. Bryan D Howard
- Re[2]: [expert] extra special dialup script. Rusty Carruth