Hi... I have tried to find if any PERL module can do my task..And i found that File::Spac can do what i am to do..It's allow us to concatenate several .*txt file and sort it into one text file..But, i don't make any perl script on it, because i jst wanna see some examples first, to avoid me waste my time if it couldn't realize soon.In linux, for additional, we actually know know that cat command line can do concatenate works..
shell> cat *.txt > allweather.txt How perl script can do the same as linux command line like above?...Honestly, i don't know where's to start...Do you guys have any tips what should i start to make may own script on it?... -----Original Message----- From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] Sent: Tue 10/19/2004 8:06 PM To: [EMAIL PROTECTED] Cc: Subject: Re: .txt To Mysql.......roy Roime bin Puniran wrote: > I have 30 text file that contains of sort of data about wheather... <snip> > My question is, how can I dump all the data from text file into mySQL <snip> > Did i need to develop some PERL script to read an extension (.txt) > and read them then import them into mysql You probably need to process the file using some programming language. Perl is most likely a suitable language for the task. > or mysql itself provide some sommand to do so?... Haven't heard of that (but my MySQL knowledge is very limited). -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>