in reply to Re: storing date into variable
in thread storing date into variable

Curious.

When I run the OP's code (as I noted in my response to Corion's OP response), I do get information returned from system() that gets stored into $todayDate. It's just not at all what the OP seems to think (based upon the OP's code).

Of course as I also noted in my response to Corion, it may be because I'm working in Windows. On my windows box, system() does return a result...but maybe not on Unix or Unix-like systems. I rarely work on Unix systems so I'm not that familiar with how system() works on them.

ack Albuquerque, NM

Replies are listed 'Best First'.
Re^3: storing date into variable
by moritz (Cardinal) on Nov 11, 2009 at 16:42 UTC
    I never said that system doesn't return a result (it does indeed, and it's well documented), just that it doesn't capture the output.
    Perl 6 - links to (nearly) everything that is Perl 6.