open and ñ

2004-11-25 Thread ruben
Hi everyone I'm making an gui for a program and therefor I use the open(OPEN, 'command'); while (){ ... } In my arguments I need to use an ñ. When I execute this command through perl it changes this character in a 3 other ones, and of course that generates errors. But when I type my command i

RE: Pattern matching

2003-07-17 Thread Ruben Montes
thanks it's solved -Mensaje original- De: Sparrow, Dave [mailto:[EMAIL PROTECTED] Enviado el: jueves, 17 de julio de 2003 15:38 Para: Ruben Montes; '[EMAIL PROTECTED]' Asunto: RE: Pattern matching How about this: $_ = "<45>13: 16:18:46: %SYS-5-CONFIG_I"

Pattern matching

2003-07-17 Thread Ruben Montes
Hello, I have this string: <45>13: 16:18:46: %SYS-5-CONFIG_I and I only want to print all the characters behind %: %SYS-5-CONFIG_I How can I make this? Regards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems with Sockets

2003-07-16 Thread Ruben Montes
t;; } It doesn't work... I need to print te ip address of the remote peer. Can anybody help me? Regards, Ruben -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

defining constant values

2003-03-19 Thread Ruben Montes
hello, can I define constants in perl like in C? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems with format

2003-03-18 Thread Ruben Montes
Sorry, this is the output: Num InterfaceType OperStatus AdminStatus === 1 2 3 4 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems with format

2003-03-18 Thread Ruben Montes
Hello, my code is designed to write 4 columns but it only writes the first one. Can anybody help me? while($i<=$number){ $if="1.3.6.1.2.1.2.2.1.2.$i"; my $name = $session->get_request( -varbindlist => [$if]); chomp($name->{$if}); my $ifoperstat="1.3.6.1.2.1.2.2.1.8.$i"; my $op

using format

2003-03-17 Thread Ruben Montes
hello, here's the code: format ENT_TOP = Num. Interface Description Admin StatusOper Status == . and this is error I get: Format not terminated at 17032003.pl line 77, at end of line Executio

Using format

2003-03-17 Thread Ruben Montes
Hi everybody, should I include any header or use a specific library to use the instruction "format"? I'm receiving the following error and i think it can be that... Format not terminated at 17032003.pl line 73, at end of line Missing right curly or square bracket at 17032003.pl line 73, at end

Function to pass a variable to numeric value

2003-03-14 Thread Ruben Montes
.1.2.1.2.2.1.2.($i)'; ... How can I pass this $i to a valid numeric value? Thanks, Ruben -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Getting a whole directory using Net::FTP

2003-03-06 Thread ruben van de vijver
f code below. Can anybody tell what is going on here and how I can fix this? best, Ruben van de Vijver ... #my $dir = $ftp->cwd("/home/ruben/journal/"); #this is wrong! #the value of $dir is 1. #alternative: