Re: How to decode raw G3 data to plain txt file

2005-10-26 Thread Stephen York
Hi, If the previous comment is correct in regards to being a fax file format, then you have a compressed bi tonal image. CCITT Group 3 and 4 compression is used by the tiff image specification as an optional compression format. It's suited to fax transmissions as it's compression performance on bi

Re: How to decode raw G3 data to plain txt file

2005-10-26 Thread J.Peng
thanks for all advices.I'll try that. > On Wed, 26 Oct 2005, Jeff 'japhy' Pinyan wrote: > >> On Oct 26, J.Peng said: >> >> > It's the unix 'file' command show: >> > >> > file 1_zhangcha_01_1000v+40.mbox >> > 1_zhangcha_01_1000v+40.mbox: raw G3 data, byte-padded >> >> According to my /usr/share/mis

Re: New Line Character(s)

2005-10-26 Thread Stephen York
If you have \n on its own in Access or Excel you get a new line within a cell. Also if you only have \n all the way through the file, then you effectively have one huge record which can't be loaded into memory (size dependent); \r\n is required in windows to indicate the end of a line. \n only

RE: New Line Character(s)

2005-10-26 Thread Chris Devers
On Wed, 26 Oct 2005, Timothy Johnson wrote: > I think you can use \r instead of \n for Access and Excel. Are you sure about that? I thought Windows used \r\n as a pair (or \n\r?) for the line delimiter. But then, I don't do Windows anymore, so I could be wrong :-) -- Chris Devers }#UÙ¯¼~º

Re: How to decode raw G3 data to plain txt file

2005-10-26 Thread Chris Devers
On Wed, 26 Oct 2005, Jeff 'japhy' Pinyan wrote: > On Oct 26, J.Peng said: > > > It's the unix 'file' command show: > > > > file 1_zhangcha_01_1000v+40.mbox > > 1_zhangcha_01_1000v+40.mbox: raw G3 data, byte-padded > > According to my /usr/share/misc/file/magic file and Google, "raw G3 data" is

Re: How to decode raw G3 data to plain txt file

2005-10-26 Thread Jeff 'japhy' Pinyan
On Oct 26, J.Peng said: It's the unix 'file' command show: file 1_zhangcha_01_1000v+40.mbox 1_zhangcha_01_1000v+40.mbox: raw G3 data, byte-padded According to my /usr/share/misc/file/magic file and Google, "raw G3 data" is a raw fax transmission. As for parsing this format, I have absolutel

How to decode raw G3 data to plain txt file

2005-10-26 Thread J.Peng
Hi,list, I have a file which format is raw G3 data.I didn't see this file format before.I want to get some info from this file.How can I decode these contents to plain txt file with perl?Thanks. It's the unix 'file' command show: file 1_zhangcha_01_1000v+40.mbox 1_zhangcha_01_1000v+40.mbox: raw

RE: New Line Character(s)

2005-10-26 Thread Timothy Johnson
I think you can use \r instead of \n for Access and Excel. -Original Message- From: Daniel Kasak [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 4:18 PM To: beginners@perl.org Subject: New Line Character(s) Greetings. I've got some Perl code that's inserting data into a MyS

New Line Character(s)

2005-10-26 Thread Daniel Kasak
Greetings. I've got some Perl code that's inserting data into a MySQL, which is later being read & displayed by MS Access. I'm constructing a note, and I'm using: \n for new lines - to break up paragraphs. However, in Access, these \n characters appear as little boxes instead of new lines.

RE: extract zip file

2005-10-26 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Wiggins d'Anconia wrote: > Tommy Nordgren wrote: >> >> Oct 26, 2005 kl. 7:56 PM skrev Wiggins d'Anconia: >> >>> Tommy Nordgren wrote: >>> Oct 25, 2005 kl. 6:21 AM skrev Pant, Hridyesh: > Hi All, > How to extract zip file using perl program... > Use the

Re: extract zip file

2005-10-26 Thread Wiggins d'Anconia
Tommy Nordgren wrote: > > Oct 26, 2005 kl. 7:56 PM skrev Wiggins d'Anconia: > >> Tommy Nordgren wrote: >> >>> >>> Oct 25, 2005 kl. 6:21 AM skrev Pant, Hridyesh: >>> >>> Hi All, How to extract zip file using perl program... Thanks Hridyesh -- To unsubscribe, e-m

Re: extract zip file

2005-10-26 Thread Tommy Nordgren
Oct 26, 2005 kl. 7:56 PM skrev Wiggins d'Anconia: Tommy Nordgren wrote: Oct 25, 2005 kl. 6:21 AM skrev Pant, Hridyesh: Hi All, How to extract zip file using perl program... Thanks Hridyesh -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: extract zip file

2005-10-26 Thread Wiggins d'Anconia
Tommy Nordgren wrote: > > Oct 25, 2005 kl. 6:21 AM skrev Pant, Hridyesh: > >> Hi All, >> How to extract zip file using perl program... >> >> Thanks >> Hridyesh >> >> -- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >>

Re: how to avoid process die when can't create mysql dbh

2005-10-26 Thread Wiggins d'Anconia
Jeff Pan wrote: > hi, > > Because of network problem,my script can't create Mysql dbh sometime > when running,then it died.I have written code like this: > > my > $mysql_dbh=DBI->connect("dbi:mysql:$mysql_db:$mysql_host",$mysql_user,$mysql_passwd, > {PrintError =>

Re: Rename a file.

2005-10-26 Thread Jay Savage
On 10/26/05, Steve Bertrand <[EMAIL PROTECTED]> wrote: > > > while renaming a file I am getting below error on windows > > environment.. > > > > > > "Couldn't rename to : Permission denied Couldn't rename to : > > > Permission denied Couldn't rename to : Permission denied > > > > > > Can any bod

RE: Rename a file.

2005-10-26 Thread Steve Bertrand
> > while renaming a file I am getting below error on windows > environment.. > > > > "Couldn't rename to : Permission denied Couldn't rename to : > > Permission denied Couldn't rename to : Permission denied > > > > Can any body suggest me...how to remove this error.. > > > By making sure

Zip file download using WWW::Mechanize

2005-10-26 Thread Dhanashri Bhate
Hello All, The following code snippet is of a program I've written to download a dictionary file from a server. The file to be downloaded is a zip.. Kindly see the code below, (error checkings etc are purposely removed from the script, to keep the message small). The program runs without

Re: Rename a file.

2005-10-26 Thread Owen Cook
On Wed, 26 Oct 2005, Pant, Hridyesh wrote: > while renaming a file I am getting below error on windows environment.. > > "Couldn't rename to : Permission denied > Couldn't rename to : Permission denied > Couldn't rename to : Permission denied > > Can any body suggest me...how to remove this