Re: Problem Connecting to MySQL Database

2010-09-27 Thread Angelos Karageorgiou
First things first: a)locate mysql's configuration file my.cnf normally under /etc , make sure that the lineskip_networking does not appear in it ! b)comment it out if it's in the file. c) Restart mysql d)telnet to port 3306 manually and see if the server answers the connection. if all of the abo

Re: Replace white space between ""

2010-05-31 Thread Angelos Karageorgiou
στις 31/5/2010 10:36 μμ, O/H Serguei Trouchelle έγραψε: > Stephane Legault wrote: > > >> I need to replace white space between delemiter "". After looking for do >> this I need to tell I did not find the solution! >> $test='test "ROYALE JEWELLER"@omr12.test.com> JEWELLER"@omr12

Re: named pipes or files on disk?

2010-04-22 Thread Angelos Karageorgiou
On 22/4/2010 12:47 ??, Jer A wrote: > > will accessing a html file, that is in the memory of a daemon, load as > fast/faster > when accessed by the cgi script, through sockets?, than if the file > was on disk? > > > Jeremy Well, if the file is on disk , and it has been accessed before, chances are

Re: fork or thread?

2010-01-19 Thread Angelos Karageorgiou
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/1/2010 3:11 ??, Oeschey, Lars (I/ET-83, extern) wrote: > Hi, > > I'm trying to write a script within the VMware vSphere Perl SDK. The > script will backup some VMs where those have it defined in Vsphere. > Currently I have the problem, that I ge

Re: Help with socket timeout

2009-12-10 Thread Angelos Karageorgiou
Ken Cornetet wrote: Ping it first with Net::Ping -Original Message- From: activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of Barry Brevik Sent: Tuesday, December 08, 2009 7:44 PM To: activeperl@listserv.ActiveState.com Subject:

Re: Read file names as per Windows file listing order

2009-07-09 Thread Angelos Karageorgiou
->in($folderpath); (3) system("dir/b >\"$folderpath\\TextFiles.txt\""); Please suggest if you have any idea to achive my requirement in perl. perldoc find2perl and then edit the wanted function that it emits! Good luck begin:vcard fn:Angelos Karageorgiou n:Karageorgiou;

Re: Validate Active Directory User

2009-04-08 Thread Angelos Karageorgiou
Hello Tony The way about varies depending on the application, The best bet is to use Net::Ldap and try to bind to you AD server with a binddn of $usern...@$domain , if it succeeds it is sufficient. try it before hand with an ldapsearch Tony W. Bass wrote: Hello Everyone,

Re: Perl "Out of Memory!" Issue

2008-12-16 Thread Angelos Karageorgiou
depth! I have had it happen to me on occasion. The trick is to break out of the recursion early. begin:vcard fn:Angelos Karageorgiou n:Karageorgiou;Angelos org:Vivodi Telecommunications S.A. email;internet:ange...@unix.gr title:Technology Manager tel;work:+30 211 7503 893 tel;fax:+30 211 7503 701 tel

Re: How to get yesterday's date in Perl

2008-12-03 Thread Angelos Karageorgiou
ke 20081203. If I add, I get a problem at the end/begining of the month, I get like 20081131 or 20081200. Thanks for any assistance. begin:vcard fn:Angelos Karageorgiou n:Karageorgiou;Angelos org:Vivodi Telecommunications S.A. email;internet:[EMAIL PROTECTED] title:Technology Manager tel;work:+3

Re: How to tell if download is cancelled

2008-11-26 Thread Angelos Karageorgiou
Mark Knoop wrote: Hi I have a CGI script running on IIS 6.0 which handles downloads by reading in the file and printing it to STDOUT. print is supposed to return an error if it cannot complete, check that! begin:vcard fn:Angelos Karageorgiou n:Karageorgiou;Angelos org:Vivodi

Re: run a DOS program without a DOS console

2008-10-14 Thread Angelos Karageorgiou
e? Try Win32::Process, CREATE_NO_WINDOW , I think begin:vcard fn:Angelos Karageorgiou n:Karageorgiou;Angelos org:Vivodi Telecommunications S.A. email;internet:[EMAIL PROTECTED] title:Technology Manager tel;work:+30 211 7503 893 tel;fax:+30 211 7503 701 tel;cell:+30 6949120773 note;quoted-printable:

Re: perl licence

2008-07-15 Thread Angelos Karageorgiou
vcard fn:Angelos Karageorgiou n:Karageorgiou;Angelos org:Vivodi Telecommunications S.A. email;internet:[EMAIL PROTECTED] title:Technonology Manager tel;work:+30 211 7503 893 tel;fax:+30 211 7503 701 tel;cell:+30 6949120773 note;quoted-printable:=0D=0A= =0D=0A= Linkedin Profile = =0D=0A= http://www.linkedi

Re: perl licence

2008-07-14 Thread Angelos Karageorgiou
g freely available on the 'Net, selling them something is not at philosophical odds with Free Software, its one of the Freedoms that implicitly and carefully protected in most OSI licenses. On Mon, Jul 14, 2008 at 9:00 AM, Angelos Karageorgiou <[EMAIL PROTECTED] <mailto:[EMAIL PROTE

Re: perl licence

2008-07-14 Thread Angelos Karageorgiou
secondary services? Thanks. Octavian begin:vcard fn:Angelos Karageorgiou n:Karageorgiou;Angelos org:Vivodi Telecommunications S.A. email;internet:[EMAIL PROTECTED] title:Technonology Manager tel;work:+30 211 7503 893 tel;fax:+30 211 7503 701 tel;cell:+30 6949120773 note;quoted-printable:=0D=0A= =0D=0A

Re: 2008 Winter Scripting Games have begun

2008-02-18 Thread Angelos Karageorgiou
Foo JH wrote: > I guess they're trying to get some inspiration from the Perl libraries/ > syntax for their next-gen scripting language? > > P#? PowerPerl? > Foo JH wrote: > I guess they're trying to get some inspiration from the Perl libraries/ > syntax for their next-gen scripting language? >

Re: shared memory problem on network

2007-07-24 Thread Angelos Karageorgiou
This is a classic problem, you will have to use a shared medium , be it DB with table locks ,NFS with file locks or your choice of net glue. Bill's on the money comments deleted ... O/H ukhas jean έγραψε: > Hi, Bill/bryan et al., > > The platforms used on the 5 servers (say, A1 to A5) are all

Re: regarding Net::Telnet

2007-02-21 Thread angelos
If you cannot ping id01 from the command line then you have resolver troubles ukhas jean wrote: > Hi all ... had a problem executing this script which tries to run a > "who" command on a unix host id01. > > use Net::Telnet; > > my $host = "id01"; ___

Re: PerlIO and DOS line ends

2006-12-01 Thread angelos
print FILE "sometext\r\n"; [EMAIL PROTECTED] wrote: > Hi all, > I try to write UTF-16 with Perl 5.8.7 at Win32: > > use Encode; > die "unable to open file" unless open FH, ">:encoding(UTF-16)","test.txt"; > print FH "1\n2"; > close FH; > > The resulting file in hex code: > > FE FF 00 31 00 0D 0A

Re: To find the usage of scripts in a particular directory.

2004-04-06 Thread Angelos Karageorgiou
+91 80 5119 - 4519 > mailto:[EMAIL PROTECTED] Fax +91 80 2508 - 1404 > > > > -- Angelos Karageorgiou Masters of Computer Science City University of New York http://www.unix.g