Re: about running unix command in perl script

2005-10-28 Thread Dan Klose
On Fri, 2005-10-28 at 03:37 -0700, ZHAO, BING wrote: > Hi, > Is there a way to run unix command in perl? > To be specific, for the ftp command: > 1.ftp ftp.rcsb.org > 2.cd /pub/pdb/data/structures/divided/pdb/ > 3.cd

RE: about running unix command in perl script

2005-10-28 Thread José Pedro Silva Pinto
ut running unix command in perl script Hi, Is there a way to run unix command in perl? To be specific, for the ftp command: 1.ftp ftp.rcsb.org 2.cd /pub/pdb/data/structures/divided/pdb/ 3.cd nx 4.get pdb

Re: about running unix command in perl script

2005-10-28 Thread John Doe
ZHAO, BING am Freitag, 28. Oktober 2005 12.37: > Hi, > Is there a way to run unix command in perl? > To be specific, for the ftp command: > 1.ftp ftp.rcsb.org > 2.cd /pub/pdb/data/structures/divided/pdb/ > 3.cd nx >

Re: about running unix command in perl script

2005-10-28 Thread Dermot Paikkos
Have a look at Net::FTP. It can do all that your asking. I think it's part of the standard distribution. perldoc Net::FTP hth. Dp. On 28 Oct 2005 at 3:37, ZHAO, BING wrote: > Hi, > Is there a way to run unix command in perl? > To be specific, for the ftp command:

Re: about running unix command in perl script

2005-10-28 Thread John W. Krahn
ZHAO, BING wrote: > Hi, Hello, > Is there a way to run unix command in perl? > To be specific, for the ftp command: > 1.ftp ftp.rcsb.org > 2.cd /pub/pdb/data/structures/divided/pdb/ > 3.cd nx > 4.get pdb1nxc.ent.Z > 5.bye > I need to automate this process to ftp get the file pdb1nxc.ent.Z. perld

about running unix command in perl script

2005-10-28 Thread ZHAO, BING
Hi, Is there a way to run unix command in perl? To be specific, for the ftp command: 1.ftp ftp.rcsb.org 2.cd /pub/pdb/data/structures/divided/pdb/ 3.cd nx 4.get pdb1nxc.ent.Z 5.bye