> This works as expected, the problem is I am using a shell command and I
> would like to move away from it. Is the perl module that is able to take
> parameters juat like the 'date' command?
There are many date-processing modules. None (that I know of) take
parameters that match those of the `date` command, but most of them provide
ways of specifying what you're looking for.
Have you looked at CPAN?
P.S.: comp.lang.perl is a defunct newsgroup. General perl questions are to
be posted to comp.lang.perl.misc, and questions about modules are to be
posted to comp.lang.perl.modules. For your future postings.
--
Eric
`$=`;$_=\%!;($_)=/(.)/;$==++$|;($.,$/,$,,$\,$",$;,$^,$#,$~,$*,$:,@%)=(
$!=~/(.)(.).(.)(.)(.)(.)..(.)(.)(.)..(.)......(.)/,$"),$=++;$.++;$.++;
$_++;$_++;($_,$\,$,)=($~.$"."$;$/$%[$?]$_$\$,$:$%[$?]",$"&$~,$#,);$,++
;$,++;$^|=$";`$_$\$,$/$:$;$~$*$%[$?]$.$~$*${#}$%[$?]$;$\$"$^$~$*.>&$=`
.
Re: Wait for background processes to complete ... To be able to execute commands in the background and wait for their ... The documentation I am referring to is http://perldoc.perl.org/. ... You can run a command in the background with: ... There is a general problem with perl documentation:... (comp.lang.perl.misc)
Re: Perl For Amateur Computer Programmers ...>professional computer programmers could use with the same ease as Basic. ...>Perl For Amateur Computer Programmers ... Also, taking into account that you're appealing to "scientists", it ... Also, as a side note, you seem to use the noun "command" in a naive ... (comp.lang.perl.misc)
Obtaining complete Unix command line that evoked script as string ... If there is a more appropriate list for this, let me know; the other perl lists I've seen seem to specialised for this. ... Note this is not just the arguments of the call to the script, but everything including pipes and redirects, etc., e.g. ... Ideally the perl interpreter would grab the complete command line as its evoked and I'd access this via a variable. ... (perl.beginners)
Thanks for the comments Jan. 25, 2006 ... "shadow" operating system which is running behind Windows....Perl can then collect data from that program and do ... that by sending longer strings etc. to the Windows clipboard and then having ... SendKeysuse a Ctrl V command to paste the information to the text editor ... (comp.lang.perl.misc)