system("lynx -dump") command in Perl

From: A. Mahendra Rajah (Mahendra.Rajah@URegina.CA)
Date: Tue Oct 04 2005 - 21:41:37 EDT


  I know that this is not strictly a Tru64 operating system
  question, but since almost everyone on this list are Tru64
  experts, I thought I will try it here first before posting
  it in any Perl newsgroup. I sincerely apologize if this is
  not acceptable to the list members.

  I have perl v5.8.0 and lynx v2.8.5 on a Tru64 5.1b-3 system.

  In perl, I have this statement:

  @Cmd = ($LYNX, "-cfg=$LYNX_CFG", "-dump ./$HTMLfile >| $TXTfile");
  $Stat = system(@Cmd);

  The $Stat returns a value of 0, but Lynx does not produce the
  dump file! Entering this command interactively produces the text
  file as desired.

  What switches can I use to make Lynx honour the system() call?
  
  Any help will be appreciated.

  Thanks,

  -- mahendra
................................................................
  A. Mahendra Rajah Email: Mahendra.Rajah@URegina.CA
  Tru64 UNIX Systems Manager Phone: (306) 585-4496
  Dept. of Computing Services FAX: (306) 337-2324
  University of Regina,
  Regina, Sask., S4S 0A2
  Canada.
................................................................



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:24 EDT