filter for a search on ldap

2013-01-25 Thread samuel desseaux
P Auth rejected : %s gets %d hits\n", $filter->as_string, $count); return 0; } return $search; best, samuel

some transformations on file

2013-01-20 Thread samuel desseaux
onvinced that's it's a bit hard to understand. I join the biblio and item files and a summary of what i want. Best regards, samuel biblio.mrk Description: Binary data item.mrk Description: Binary data whatiwant Description: Binary data -- To unsubscribe, e-mail: beginners

manipulate data from ldap

2012-12-20 Thread samuel desseaux
0-01-01 CAT2 ABOP 1 Many thanks. Samuel

Re: question of regexp or (another solution)

2012-12-14 Thread samuel desseaux
i do with a script perl? Many thanks samuel 2012/12/14 samuel desseaux > Hi! > > I work in a library and i need to have several fields in one line > > Example > > I have this > > =995 \\$xPR$wLivre > =995 \\$bECAM$cECAM > =995 \\$n > =995 \\$oDisponible &

question of regexp or (another solution)

2012-12-14 Thread samuel desseaux
Hi! I work in a library and i need to have several fields in one line Example I have this =995 \\$xPR$wLivre =995 \\$bECAM$cECAM =995 \\$n =995 \\$oDisponible =995 \\$kG1 42171 and i want in one line =995 \\$bECAM$cECAM$kG1 42171$n$oDisponible$xPR$wLivre

change authentication ldap with perl

2012-11-21 Thread samuel desseaux
rn sprintf("LDAP Auth rejected : %s gets %d hits\n", $filter->as_string, $count) . description($search); return 0; } if ($count != 1) { warn sprintf("LDAP Auth rejected : %s gets %d hits\n", $filter->as_string, $count); return 0; } return $search; } Many thanks sa

Re: Teaching Perl

2010-05-03 Thread Samuel Williams
Dear Shlomi, Are you able to write a version that uses a function called "doors"? Kind regards, Samuel On 4/05/2010, at 3:01 AM, Shlomi Fish wrote: > Hi John, > > On Monday 03 May 2010 17:42:16 John W. Krahn wrote: >> Samuel Williams wrote: >>> Dear Frien

Re: Teaching Perl

2010-05-03 Thread Samuel Williams
Dear John, Apparently (according to the people in irc.freenode.org#c) that initializer sets the whole array to zero. I queried this too, but apparently its correct. Thanks for your implementation. Kind regards, Samuel On 4/05/2010, at 2:42 AM, John W. Krahn wrote: > Samuel Williams wr

Teaching Perl

2010-05-03 Thread Samuel Williams
plaining how it works and what is happening (like the C example). Any other suggestions or ideas for the Perl page would be fantastic, and any suggestions to other pages in general is also very helpful. http://programming.dojo.net.nz/ Kind regards, Samuel

Display realtime data As it changes in the databse - TK

2003-08-18 Thread samuel shankar
Hi List I was wandering if someone can help me out in displaying database data in a TK window. I have tried a number of ways but I am loosing memory eventually.. I vet all "my"'s are not really mine.. All I need to do is fetch from a database and display it In a GUI based window. Or some ones has

Re: web server 500 error

2003-02-12 Thread Samuel Mauntz
Thanx everyone, I figured out my problem...it turns out that there was a space just before the shebang that was causing problems executing the script in the first place. I'd like to thank you guys for putting me on the right track. Two heads are better than one "Sam Mauntz" <[EMAIL PROTECTED]>

Re: web server 500 error

2003-02-11 Thread Samuel Mauntz
Here's what my modified code looks like right now, I've taken anything out that I thought might cause trouble with the server, and just did some basic prints. - #!/usr/bin/perl print "Content-type:

Re: web server 500 error

2003-02-07 Thread Samuel Mauntz
Thanks George, I thought that was something I had in earlier that I had accidentally deleted...I took your advice though and stuck that html header in there after the shebang and just before I printed out any html. Unfortunately your suggestion didn't fix the problem. The hosting company I'm work

My simple script won't run on my web server

2003-02-04 Thread Samuel Mauntz
Here's the code... #!/usr/bin/perl print "\n"; print "\n"; print "Perl Test Page\n"; print "\n"; print "\n"; print "Perl Test Page\n"; print "\n"; print "\n"; when I run it from the command line, it runs fine and prints out the results, but I get a 500 error every time I try to

Sorting a list by...

2002-08-09 Thread Samuel Brown
Hi ya, I'm teaching myself Perl and I have a log file around 1GB that I need to sort by month | date | time | byte size. So far I have parse the log for "bytes" since this is all that I need but I can't get it to sort like I want. Here is the Data I parsed for bytes but now I need to sort by m

Win32::Service on UNIX?

2002-05-31 Thread Ian Samuel
Title: Win32::Service on UNIX? Hello, Is there any equivalent for Win32::Service on Unix? That is, a way for a Unix box running Perl to get information about the state of another machine's Win32 services? TIA, Ian Samuel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: Need help in Regular Expression

2002-05-24 Thread Ian Samuel
Title: RE: Need help in Regular Expression Ankit: $header = $1 if /^Date: (.*)/; This should do what you want. Regards, Ian Samuel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 10:14 AM To: [EMAIL PROTECTED] Subject: Need help

Thread and fork in Perl

2001-12-11 Thread Samuel Marin
ck of litterature in Perl. If you could refer me a book, it will be great ! Thanks you a lot... Samuel. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

problem comparing strings

2001-11-14 Thread samuel
s something to do with string terminators (like '\0' in C). well, i hope u can help me. Eternally grateful, Samuel 'Ironsam' Molina -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

eureka!!i'm not frustrated any more

2001-11-10 Thread samuel
. PUT A SMILE IN YOUR LIFE! Greetings, samuel molina -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

frustrating search on the NET::IRC module

2001-11-10 Thread samuel
hi there!, i'm writing this email with a great frustration feeling. i've been all evening looking for the NET::IRC perl module, but it was a waste. After searching CPAN modules list and find nothing, i tried it in a more active way, i tried it in search.cpan.org with a (fake) successful resul

transforming an array of characters into 1 single string

2001-11-10 Thread samuel
that? i'd like to know another way to do it, or another approach to reading the info from the databse file thanx Samuel Molina -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Off-Topic (200%) - Where are you from?

2001-11-10 Thread samuel
Hi, Smauel Molina Vidal Industrial Engineer student @ University of Seville, Seville, Spain (quite far from the west coast :-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]