[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GT] scan.pl error



Todd Turner wrote:
I just checked...I do not have Date::Manip installed.

aloha todd

thanks for that reply -- this is interesting; thought you wrote
you're using beancounter? i'm seeing both beancounter and BeanCounter.pm
using Date::Manip as far back as beancounter-0.6.3 ???


todd and all other newer gt users -- don't know what platform you're
using so don't know if it's a big deal or worse to install perl modules.
but i believe if you find gt useful, you'll really like the date entry
flexibility the stems by adding Date::Manip to you're perl install.

as an example
% scan.pl --timeframe day --start '6 months ago' --end 'last friday' \
  scan_symbol2 'last friday' scan_signal
instead of
% scan.pl --timeframe day --start 'heck -- you do the date math!




-- fellow hackers this suggests we cannot presume Date::Manip will
be available even for those users using beancounter. the only gt
module i know requires it is the new GT::DB:Text. but GT::Tools
will use it if available.

ras



Todd

On Fri, Mar 21, 2008 at 11:40 PM, Robert A. Schmied <ras
AT
acm.org> wrote:

Todd Turner wrote:
> Hi Robert,
>
> Your modified scan.pl works.  Thanks!

more correctly, my corrected scan.pl works.

good to hear! again sorry for the screwup -- seems you
may have been the guinea pig for that one.

a question if you don't mind:

do you have perl module Date::Manip installed?
  try perl -M"Date::Manip 99" -e 'exit;'
  you'll get something like
  Date::Manip version 99 required--this is only version 5.44.
  BEGIN failed--compilation aborted.
  if you do, and something like
  Can't locate Date/Manip.pm in @INC (@INC contains: /usr/perl5....
  if you do not.

aloha

ras

<< snip >>