Telling if an address is IPv4 or IPv6

2008-03-19 Thread Andre-John Mas
lem is I am not sure how to tell whether the addrss is IPv4 or IPv6. Any suggestions would be appreciated. Thanks in advance Andre -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Non-Blocking INET getline

2005-11-20 Thread Andre Muench
shouldnt block, but it does !!! $Input = <$Client>; $Client->blocking(1); Later in the program I need the blocking. Has this anything to do with Perl or Windows Version, I have problems with sockets under Win NT 4.0 too, but on the Client side ( but this is another story ). Andre

Can I alter the system wide @INC array?

2005-09-13 Thread Andre
. erl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.5 . Now, can I permanently edit the value of the @INC? I am using a Gentoo system.

Where can I find the Token-Definition for Perl

2005-05-18 Thread Andre Muench
Hi, I'm searching the Perl Sourcecode for the description of the Tokens, that the yacc Grammar file (perly.y) use. I found only a file with the parser-code for the lexer. Does anyone know where I can find the Regular Expressions ? Thanks, Andre

JPG FILE DOUBTS

2004-01-15 Thread Andre Chaves Mascarenhas
Hello i wanna know what Perl module can I use and what commands to do the folowing: 1-Check to see if the file is a valid jpg file 2-Check the file size Thanks in advance

lowercase

2003-10-20 Thread Andre Chaves Mascarenhas
Hi if i have an string lets say $stri="Joana Prado"; How do i transformm it into "joana prado" (all lowercase) Thanks

CRLF

2003-07-07 Thread Andre Chaves Mascarenhas
Hi I'm having a hard time commecting to an smtp server when i sed the "Subject: any\n\n"; it replyes with an web page address saiing that i'm triing to send a "bare LF" well so can anybody tell me what is the code for is it chr(10)chr(13) ? or "\c\l"? Thanks

SOCKETS??

2003-07-07 Thread Andre Chaves Mascarenhas
Hi How do i read a web page with socks? do i send? if SK is a open socjet at port 80 at lets say www.yahoo.com if i send print SK "GET /index.htm HTTP/1.1\n" will i get the www.yahoo.com/index.htm page ? Thanks

Re: perl code in browser window

2003-03-26 Thread Andre Chaves Mascarenhas
Hello Probably your script is in a non executable directory or your server does not understand the ,pl termination as an executable file - Original Message - From: Robbie Staufer <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 12:48 PM Subject: perl code in brow

GRAPH

2003-03-13 Thread Andre Chaves Mascarenhas
Hi Can anybody tell me witch module may i instal with ppm3 that haldles jpg files (edit cuts,resizes) etc When i try to install GD it give me ann error message thnaks

DO YOU KNOW?

2003-02-14 Thread Andre
Hi Does anyone know if there is a module or function of a model in wich i send an array with the contents in html or text and ir returns me an array of the parsed emails adresses that were in the input data? Where do i get it? Thanks

REPACE CHARS

2003-02-14 Thread Andre
Hi How can y give s sbstition order of the kind @string=~s/nonalfanum//g; in these two cases? 1-wich will search and replace with "" (empty char) all nunnumeric or nonalphabetic chars? 2-wich will search and replace with "" (empty char) all nunnumeric or nonalphabetic chars with the exception of

Permissions-Perl

2003-01-27 Thread Andre
Hi I'm having a hard tile opening creating reading and writing files with = perl on a unix palataform sometimes it works sometimes do no. I suspect it has to do with permissions so can anybody tell me witch = permissions must br set to perfom these actions properly (in numeric = form ex: 755) on:

Uploading files

2002-12-16 Thread Andre
Hi I know it is not entirely perl, but can anybody esplain me how does i do upload a file using a browser (can i use perl to do this)? Thanks

FORK USE ?

2002-12-11 Thread Andre
Hi i want to execute an linux command as atotally separeted from the = father process Is this going to work? Is it wrong? my script. fork ("perl anotherscript.pl"); . my script go on... Thanks

Re: Perl Module for Server Statistics

2002-01-23 Thread Andre' Solomon
Thanks. I will give it a go - Andre' - Original Message - From: "Hamid Majidy" <[EMAIL PROTECTED]> To: "Andre' Solomon" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 22, 2002 12:33 AM Subject: RE: Perl Module for S

RE: Perl Module for Server Statistics

2002-01-21 Thread Andre' Solomon
Hi, I'm looking for a Perl Module that would allow me to determine some basic server statistics such as uptime, CPU usage per process, total CPU usage, disk usage, etc. Can someone point me in the right direction please. Thanks, Andre'

fatal subroutine

2001-08-22 Thread Andre P.
some modules??? I can't find any usefull info in the manuals. any help much appreciated. ciao Andre -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

FW: Joining variables

2001-06-27 Thread Andre Cavalcanti
@var=($var1,$var2,$var3); $"="-"; $newvar="@var"; -Original Message- From: Chas Owens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 11:39 AM To: [EMAIL PROTECTED] Subject: Re: Joining variables So we have: $newvar = $var1."-".$var2."-".$var3; $newvar = "$var1-$var2-$var3";

Net::FTP problem (maybe)

2001-04-19 Thread Marian Andre
array will be empty: @dirlist = $scan->dir("AAA/AAA.3/AAA.3.1") Is there any problem with subdirectories listing ? p.s.: sorry for my english marian andre