Re: HELP FORMATING A FILE

2001-07-13 Thread Dan
At 18:55 13/07/2001 -0400, Pedro A Reche Gallardo wrote: >HI All, I have a file from a blast report output which looks like the >following: Hi you might want to use the bioperl modules from CPAN to parse BLAST results - it saves a lot of work. Check out http://bio.perl.org HTH HAN

Re: HELP FORMATING A FILE

2001-07-13 Thread Dan
Sorry maybe I should be a bit more explicit with my links : http://bio.perl.org/Core/POD/bptutorial.html Blast.pl and BPlite should help! dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Removing strings

2003-01-12 Thread dan
Hey, I have a slight dilemma which i'm struggling to overcome. Wondering if anyone has any ideas on this.. I have a variable, for example's sake, say $variable. $variable has a load of entries. $variable = "danneh blah dan etc danster"; What i want to do, without having to s

Re: Removing strings

2003-01-12 Thread dan
Excellent, worked! Cheers Dan "John W. Krahn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dan wrote: > > > > Hey, I have a slight dilemma which i'm struggling to overcome. Wondering if > > anyone has

Re: Removing strings

2003-01-12 Thread dan
og"; This also needs to be acheived without looping. I tried the method given for the first scenario of $variable, but for some reason that solution doesn't seem to be working for this. Help much appreciated. Dan "John W. Krahn" <[EMAIL PROTECTED]> wrote in message [EMAIL PR

Re: Removing strings

2003-01-13 Thread dan
I'm assuming that yours rob will just remove the #ba, without the space. While this was what I was originally looking for, John's solution removing the #ba and the space before is more convenient, saves me having to do s/ / /g; then. dan Network Administrator & Head Coder http://ww

Re: Removing strings

2003-01-13 Thread dan
OK, that worked fine, until a \ character was introduced into the variable which contains the information to be removed, for example, #blah\ I tried both john's & rob's methods, both crashed the service. Any clues? Cheers. -- dan Network Administrator and Head Coder http://www.ab

finding protocal script is called with

2003-01-22 Thread Dan
access via http http://domain.com/images/pic.png";> but if it's accessed via https it's https://domain.com/images/pic.png";> And then you won't get the not so good "not all items on this page are secure" bit. Any ideas? Thanks Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Resolving IP's/Hostmasks

2003-01-22 Thread dan
ing, even if the IP address is resolvable. Is there as module to do this, or a set of scripts? Help much appreciated Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: finding protocal script is called with

2003-01-22 Thread Dan
good idea if I did if ($secure) { # do secure stuff... } else { ... } On Thu, 2003-01-23 at 13:19, Dan wrote: Hello, here's one for you all. What is the fastest way to find out what protocal a script is being called from ? IE http, https, ftp ,etc currently I have to use : sub s

Re: finding protocal script is called with

2003-01-22 Thread Dan
speed/improve this way? Thanks! Dan ### http_prot code that works ### #!/usr/bin/perl -w use strict; use warnings; use URI; use CGI ':standard'; #my $uri = new URI(self_url()); #my $http_prot = $uri->scheme; # these two together worked but this works too and is one line my $http_prot

Re: Resolving IP's/Hostmasks

2003-01-23 Thread dan
"John W. Krahn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dan wrote: > > > > Hey > > Hello, > > > I need a method that resolves Hostmasks into IP's, and IP's into hosts. I > > can d

Only numbers

2003-01-23 Thread dan
# do something } All help much appreciated. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

More regex required!

2003-01-31 Thread dan
. All help muchly appreciated. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Even more regex

2003-01-31 Thread dan
m, or 5h2m, etc. What I need to do, is to take this string, and split it up into $days, $hours, $minutes etc, and then create that amount of time in seconds, which will then be added to the current timestamp to create an expiry time. Many thanks for all your help. Dan -- To unsubscribe, e-mail: [

Re: More regex required!

2003-02-01 Thread dan
een said, is to do a search for *.with and it return only strings 1 and 2 (since they end in .with). String 3 contains .with, but at the moment, this code returns that one as well. Many thanks Dan "Rob Dixon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[

Threads

2003-02-01 Thread dan
is executed within another sub by threads, when the program is ready to start it, with: $t = Thread->new(\&akilltimeout); I'm using "Thread" not "threads". What am I doing wrong? Is "threads" better than "Thread", and will it do what I want

Re: Threads

2003-02-01 Thread dan
e running, and the checks need to be made once every second, without affecting the listening on the socket, since I know sleep() makes the entire program wait. So i use threads to run this portion of code. But it isn't running every second. Is this more clearer? Is this actually possible? heh Man

Re: Threads

2003-02-02 Thread dan
d when the timeout sub runs through the entire hash, check the newest values as well. Thanks Dan "Beau E. Cox" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi dan - > > > -Original Message- > > From: dan [mailt

Regex & threads

2003-02-03 Thread dan
check for timeouts on the new information? Many thanks. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Regex & threads

2003-02-03 Thread dan
files with the search tool. *.exe returns programs, yet *bat* returns anything with "bat" in the filename. Dan "Dan Muey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hey, I posted a while ago on a thread marked "

Re: Regex & threads

2003-02-04 Thread dan
g in "my %akill : shared;" and "my %akill : shared = 1;" but neither of them seemed to help. I hope this is more help than my last post. Dan "Rob Dixon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dan wrote: >

Another threading question

2003-02-05 Thread dan
ot;text to send" . $newline,0); I execute this in the thread, and it does absolutely nothing. The server doesn't even receive the data. Is there a way to get around this? Many thanks Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to send an e-mail from perl script on windows using SMTP?

2003-02-06 Thread dan
I tried telnetting to that host on port 25, it exclaimed "host could not be found". Seems that's your problem. With regards to NET::SMTP and Net::SMTP, since it's on windows, case doesn't really seem to matter. Dan "Madhu Reddy" <[EMAIL PROTECTED]>

Sharing variables

2003-02-10 Thread dan
Hi Is it possible to share variables between 2 perl scripts running as 2 separate processes? I've looked on CPAN but can't see any names that are obvious they do that kind of thing. Thanks in advance. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: LWP and authentication

2003-02-14 Thread Dan
Thanks that worked perfect!! And a little bit of print $request->content() and it is done! Thanks Again!! david wrote: Dan Muey wrote: Something like :: use LWP::Simple; my $content = authenticate_and_get($url, $user, $pass); print $content; IE if you got $url in a browser it will pro

Quickie

2003-02-16 Thread dan
What's the equivalent to $variable++ but to decrease a number instead of increase? Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Getting HTML files from remote sites

2003-02-19 Thread dan
27;ve done this in another language, but I'm wanting to write one in perl as well for use on web pages. Thanks in advance. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Writing to data files with IIS

2003-02-19 Thread dan
I need to do soemthing special with IIS? Thanks in advance. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Dynamic downloads

2003-02-21 Thread dan
I'm making a script that enables you to download content off a server as it is, so the data is as up to date as it could ever possibly be. I have this: $number = 0; $path = "/home/sites/site2/users/dan/web/servers/networks/"; print "Content-type:text/plain\n\n"; print

Re: Dynamic downloads

2003-02-21 Thread dan
" file from the data the perl script outputs. Dan "Dan Muey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] com... Not really sure what you're problem/goal is but if the script's code shows up in the browser or it wants to download the script, Then yo

Re: Dynamic downloads

2003-02-21 Thread dan
just appearing straight in the browser? if not, is there another way where i can create data on the fly, give the user the file, and remove the file straight after? hope this is clearer than before. thanks in advance. dan "Dan Muey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

Shifting

2003-02-25 Thread dan
y of doing this was: shift(@data); x 9 so that the first item in the array now is the first word of the data I wanted in the first place. Is there a shorter way to do this? I also have to alter the first index to remove a : which prefixes the first word in the array. Thanks in advance. Dan --

Removing a string from within a string

2003-02-25 Thread dan
space, just a comma instead. What's the alteration I need to make to this to remove $src from $mystring1? Thanks in advance. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Wildcard matching

2003-03-04 Thread dan
nicktomatch contains "*" $identtomatch contains "*dan*" $hosttomatch contains "192.*.0.4" and $propernick contains "dan" $properident contains "dan" $properhost contains "192.168.0.4" So I'm trying to get a match of $nicktomatch with $prop

Re: Wildcard matching

2003-03-04 Thread dan
Excellent, worked brilliantly. Cheers Dan "Rob Dixon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dan wrote: > > Hi > > > > I'm not entirely sure if this is possible, but I'm going to ask anyway > > (after all I'm n

qmail with perl

2003-03-08 Thread dan
Hi I know how to use sendmail with perl, but not sure about qmail. How much does the piping syntax of qmail differ to sendmail? Thanks in advance. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Creating Microsoft Access Database files

2003-03-22 Thread dan
Hi, Is there a way (or a module) which enables the creation of MS access files? Or, is tehre something that will convert an SQL database & all subtables into an MS access file for viewing? Thanks in advance. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

$|

2003-03-29 Thread dan
Hi Just a quick question, what is the meaning of this $| and what is it supposed to do? Thanks in advance. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: looking for help with Net::IRC

2003-04-03 Thread dan
t the easiest of modules to use. Create a socket using IO::Socket, then create a while loop while (<$sock>) .. }, and within manage your socket, writing routines for ping, privmsg, etc. Dan "Oliver Schaedlich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >

sorting %hash entries

2002-07-22 Thread dan
.com" "9" } How can i get perl to return these 4 server names in the correct order, server.two.com server.four.com server.three.com server.one.com Help much appreciated Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

sorting hash entries

2002-07-22 Thread dan
;, "server.three.com" "14", "server.four.com" "9" } How can i get perl to return these 4 server names in the correct order, server.two.com server.four.com server.three.com server.one.com Help much appreciated Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sorting %hash entries

2002-07-22 Thread dan
ok.. that worked, now how about if i wanted it to go the other way.. from most to least? dan "David Wagner" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Here is one shot: > > > %usernum = ( "serv

Timers?

2002-09-17 Thread dan
ponding to users on the network normally as if the timer isn't even working. Any clues? Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Breaking up a large source file into several pieces

2002-09-18 Thread dan
ile, and it'll load each other source file into perl, and treat is as one big source. dan "Cricker" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This seems like a stupid question... but I've looked in lots of places a

Perl & MySQL

2002-09-21 Thread dan
e database as the services, to provide real-time live statistics to the web, to enable website users to view certain portions of the database All help muchly appreciated Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: background process

2002-09-23 Thread dan
:) dan "Paul Tremblay" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am writing a script in perl to backup my system, and would like to run > a backgroud process to burn each CD as it is created. > > Right now I use this com

Re: Perl & MySQL

2002-09-23 Thread dan
right, i've had a look into sql and everything, and kinda got to grasp with how it works, i've written a trial script to see if it works, but it keeps spewing an error: DBI->connect(mx:localhost:3306) failed: Access denied for user: 'dan@localhost' (Using password: YES)

MySQL & Perl (again)

2002-09-24 Thread dan
Finally I managed to get my perl script to connect to the relevant MySQL database. I've looked at the DBI.pm information, but I still am pretty clueless about how you read data from a table, and write data to it. Any help much appreciated. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: MySQL & Perl (again)

2002-09-24 Thread dan
i was given this url: perldoc DBI (http://search.cpan.org/author/TIMB/DBI-1.30/DBI.pm) that's what i was referring to when i said DBI.pm dan "Ramprasad A Padmanabhan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How have

Creating tables?

2002-09-25 Thread dan
ck varchar(30) NOT NULL, ulevel tinyint(3) NOT NULL, slevel tinyint(3) DEFAULT '0' NOT NULL, aop tinyint(1) DEFAULT '0' NOT NULL, greet text, PRIMARY KEY (uid) ) "); $sth->execute; any tips/suggestions? Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SQL Table Rows

2002-09-30 Thread dan
How is it possible to cycle through an SQL table row by row, without having to increment an ID by 1 in a while loop and go SELECT * FROM table WHERE id=$id ? And how can I find out how many rows are in the table? Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: SQL Table Rows

2002-09-30 Thread dan
--- what i want to be able to do is go through the table row by row and select all the data from each row, rather than have to select by id. any better clues now? and how is it possible to find out how many rows a table has? Dan "Cleiton L. Siqueira" &l

Re: SQL Table Rows

2002-10-01 Thread dan
erl, how to use it, etc. I knew absolutely nothing about MySQL before my first SQL post, and with help from you guys, I've managed to build up a huge database for my program to work with. Thanks once again, Dan "Jeff Aa" <[EMAIL PROTECTED]> wrote in message 000701c26887$8a8d

Re: Check for empty array

2002-10-04 Thread dan
or if (!$array[0]) { # it's empty } your choice :) dan "Nikola Janceski" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > if(not @array){ > # it's empty > } > > > -Original Message- > > From

Re: Will not read line and split.

2002-10-05 Thread dan
he "use strict" forces declaration of all variables using my() before use. i can't remember the perldoc command to see more info on this, although i know there is one. dan "Chuck Belcher" <[EMAIL PROTECTED]> wrote in message 000d01c26c0a$f5a4b480$1901a8c0@haley&

Encrypting passwords

2002-10-06 Thread dan
Am after suggestions about which Crypt:: module (or any module at that matter) would be best to encrypt passwords for storage, and decrypt them again for using within the script. Passwords on my script are generally required to be between 8 & 16 characters. Any ideas? Dan -- To unsubsc

Re: Encrypting passwords

2002-10-07 Thread dan
Well I managed to locally install it on the box that I use. Unix, FreeBSD, 4.6.2-RELEASE Dan "Peterkorman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Mon, Oct 07, 2002 at 06:51:05AM -0400, zentara wrote: > On Sun, 6 Oct

Threading

2002-10-07 Thread dan
tes fine, but checktimeout doesn't even execute (i've checked this in debug mode). any clues as to what's going wrong and why? Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to substitute "# "

2002-10-10 Thread dan
$variable = "..ADDRESS 1 OR 2"; # here you'll need to assign the variable perl will check to see if it's address 1 or address 2 from the file. if ($variable eq "..ADDRESS 1" ) { s/\#/Apt/g; # subs # for "Apt" s/\(//g; # removes ( s/\)//g; # removes ) } some clever regex expert may be

Re: checking email account name

2002-10-10 Thread dan
u use what i use, and get script to mail a password to the address, and get user to enter the unique password it sent them). hope this helps dan "Chad Kellerman" <[EMAIL PROTECTED]> wrote in message 1034270154.4546.36.camel@host">news:1034270154.4546.36.camel@host...

Re: Split

2002-10-13 Thread dan
some comparing later. This should do what you want. > Anyone have any ideas? > > Joseph Ruffino > Automated Systems Assistant > Gail Borden Public Library District > Elgin., IL > [EMAIL PROTECTED] > Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tables

2002-10-22 Thread dan
| 1 | | 121 | Psycho | 100 | 0| 0 | -- so the column is either (length of the title + 2) or (length of largest record + 2). any clues on how this may be acheived? ta dan

daft regex question

2002-10-23 Thread dan
x method) i would use to replace [ with \[, ] with \], etc.. any clues? dan this is the entire routine note: at this point: @sockstr = :nickname PART #channel __ start __ $pnick = lc(substr($sockstr[0],1)); $pchan = lc($sockstr[2]); debugmsg("sockstr for part

Re: learning...

2002-10-24 Thread dan
there's also www.cgi101.com .. it's part of a book really, but the first 6 chapters, which are extracts from the book, are really handy, and that's where i started to learn perl, and made me the programmer i am today. dan "Jean-Marie De Crozals" <[EMAIL PROTECTED]

Re: Mail Problem. Can Anyone Help Me?

2002-10-24 Thread dan
install this: http://www.cpan.org/authors/id/J/JE/JENDA/Mail-Sender-0.8.00.tar.gz dan "Bootscat" <[EMAIL PROTECTED]> wrote in message news:002701c27b63$c28881e0$f89c3dd0@;dhoggard... I'm setting up a mysqls email list. In the config file it has this varables # Path to SendM

Re: Perl Security

2002-10-29 Thread dan
how is it possible to send a message 11 years in the future? dan "Jonathan" <[EMAIL PROTECTED]> wrote in message news:000801cde00e$979fab00$8693a7d0@;win2k... Hi, I am insterested in creating a reusable module that allows my scripts to have pretty good security. I just

Re: changing case

2002-11-04 Thread dan
when there's no more files my ($fname,$ext) = split(/\./,$file); # removes extension next if $file eq '.' or $file eq '..' or $ext ne 'html'; # goes to next look if $file is . (current dir) or .. (parent dir) rename $file, lc($file); # rename } closedir D

Re: changing case

2002-11-05 Thread dan
st there to tell you which one it's doing. if you want it to work silently, just take that line out. dan "Dan" <[EMAIL PROTECTED]> wrote in message news:20021104183421.83888.qmail@;onion.perl.org... > try this.. > > __ START __ > my $path = qq~$HOME/documents~; # s

Re: Files at different location

2002-11-05 Thread dan
__ START __ my $path = qq~C:\path\where\to\put\stuff~; open (WHATEVER,qq~>$path\filename.ext~) or die (qq~Can't open $path\filename.ext for writing : $!~); etc.. close(WHATEVER); __ END __ Note: untested, but i doubt anything can go wrong. give that a go. dan "Ankit Gupta"

Re: Files at different location

2002-11-05 Thread dan
something isn't right. if the code i submitted doesn't work, then my bad. but the recipient of the code can insert it into their code, and if it doesn't work, perl will spew errors on what's wrong, and where, so they can fix it. dan "Paul Johnson" &

Re: perl modules for NT

2002-11-05 Thread dan
funny, i used the ppm to install DBI on my server, it's a win2k service pack 3, but nevertheless, still the same perl software. try: ppm> install DBI case sensitive.. maybe? dan "James Kipp" <[EMAIL PROTECTED]> wrote in message news:EC6C49DE5C846143AA2CE580

Securing/Encrypting Source

2002-11-07 Thread dan
;t be stolen. It's running on a Linux system, with perl 5.8.0 installed. Any clues as to where I go from here? dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Non valid emails

2002-11-07 Thread dan
onses saying the message couldn't be delivered to X people because of Y reason. dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Securing/Encrypting Source

2002-11-07 Thread dan
/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line 503. Undefined subroutine &DBI::dr::disconnect_all called at /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/DBI.pm line 565. END failed--call queue aborted. any ideas how i may be able to come over this? dan "Paul Johnson" <[EM

Re: Securing/Encrypting Source

2002-11-07 Thread dan
so if perlcc is not a good way to compile your perl source for *nix systems, then what is? dan "Paul Johnson" <[EMAIL PROTECTED]> wrote in message news:20021107205443.GA4209@;pjcj.net... > On Thu, Nov 07, 2002 at 03:08:23PM -, dan wrote: > > > answering my o

uptime

2002-11-13 Thread dan
been running in seconds, but how do i convert that to days, hours, mins, secs, etc..? dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: md5 encryption.

2002-11-13 Thread dan
look up Crypt::PasswdMD5 on CPAN. I use the same module, no problems. dan "Christopher Burger" <[EMAIL PROTECTED]> wrote in message news:!~!UENERkVCMDkAAQACABgAQQZ01V1XZUy+ZLRflK79TcKA [EMAIL PROTECTED] Just a quick question. How can encrypt something wit

Re: Checking for multiple instances of a string

2002-11-23 Thread dan
$retest = substr($linewithsubjectin,3); if ($retest ne "Re:") { # hasn't got Re: in } else { # has got Re: in } should work. dan "Gavin Laking" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > -BEGIN PGP SIG

Re: Some few basic Perl questions

2002-11-23 Thread dan
urther. it returns a "true value" to perl. it also claims to perl that the script is complete. dan "Mystik Gotan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hiya, > > I got some basic Perl questions. Hope you don

use Socket

2002-11-30 Thread dan
ere then I missed it). All help appreciated Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Resolving DNS/IP

2002-12-24 Thread dan
I need my program to resolve hosts to IP's, and vice versa. I came across the Net::DNS module on CPAN, but have no idea how to just give it a host, and get it to return an IP, and vice versa. The help for it doesn't make sense to me either :( All help much appreciated. Dan -- To u

Best SMS module?

2002-12-26 Thread dan
What's the best (and easiest to use) SMS module available? Any ideas? All help appreciated. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Resolving DNS/IP

2002-12-26 Thread dan
oo it worked, cheers :) dan "Peter Scott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Dan) writes: > >I need my program to resolve hosts to IP's, and vice

dns servers in Perl?

2004-01-26 Thread Dan
Hi, Does anyone know of any perl modules that implement a basic DNS server? After a quick search, I only found Stanford:DNSserver. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Perl POST

2004-06-09 Thread dan
ST, which will display content on what data it's given. Does this make sense? Can anyone help me? Many thanks, Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Creating images

2004-06-26 Thread dan
en output as 1 image. Does this make sense what I'm try to do? Is this even possible? If so, what's the best way of going about it, as I have absolutely no idea where to start on this one. I've aquired Apache::ImageMagick, but can't make head nor tail of the readme. Any help much

Re: Creating images

2004-06-28 Thread dan
custom text on it. Rather than go through complicated HTML routines, I thought it might be easier to make an etc.. where the text to put in is generated by the script creating the html for the page, if that makes sense? Dan "James Edward Gray II" <[EMAIL PROTECTED]> wrote in mes

Re: Creating images

2004-06-29 Thread dan
t, and do I need any additional files? Cheers, Dan "Randy W. Sims" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 6/25/2004 6:56 PM, dan wrote: > > > Hi all, again! > > > > I'm attempting to make a web page, where all the buttons are dynami

checking for anything other than a number

2003-09-19 Thread dan
nd go "ahh that's it!" thanks in advance dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

random number between x and y

2003-09-20 Thread dan
how is it possible to get a random number between x and y? in know int(rand(10)) returns an integer between 0 and 9, but how do i get it so that i can get a random integer say between 5 and 10 inclusive? many thanks dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

SQL Syntax quickie

2003-10-25 Thread dan
ncrement assigned it. Is this possible? Does this make sense? *laugh* Many thanks, Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: More what is time?

2003-10-25 Thread dan
try Time::Duration Dan <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I know about localtime(time); But I was wondering if there was a formula > out there like 1066442632/60/60/24 that will say today is say 2003 10 17. > > thanks > > > On Oct

Re: RE : SQL Syntax quickie

2003-10-26 Thread dan
before the SELECT because they happen immediately one after the other. FYI, i'm using MySQL and DBD::mysql if that's any more help. Many thanks Dan "Tore Aursand" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sun, 26 Oct 2003 06:30:11 +0100, SIMON

Re: RE : SQL Syntax quickie

2003-10-27 Thread dan
o that I'm sure that nothing will happen between the INSERT and SELECT. I'll also give the mysql_insertid a go, that generally looks like what I want to happen, so that may be my best option all around. Many thanks for all of your help, Dan "Tore Aursand" <[EMAIL PROTECTED]

Re: IRC bot in perl?

2003-10-30 Thread dan
helping hand if you need it though. Dan "David O'Dell" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can anyone recommend the best way to do this in Perl. > There are a lot of modules out there and also IO::Socket. > Just looking for a good starting pl

SQL annoyance

2004-01-04 Thread dan
wrong? Many thanks, and apologies once again if I should have posted this elsewhere. I'll know next time if I should ;) -Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: strange sort order

2004-01-13 Thread Dan
hanks again for your help. Any other hints? Dan Shawn McKinley wrote: Hello Dan, To come up with the sort order you have here, you are sorting on a numeric comparison (not ASCII). If you want to sort in the 'normal' fashion, just use the default ASCII sort. Here is a simple demo:

Re: strange sort order

2004-01-14 Thread Dan
danl001 wrote: Here, the first 10 characters correspond but then the second string runs out. Using our rule, we'd order ABC-MARKET before ABC-MARKET.ABC-MARKET, which is wrong. I guess I could try following that rule, but if the character position in the longer string that corresponds to the fi

Microsoft Access/Running program as a service on Win2k

2002-04-07 Thread Dan
unfamiliar with what Active Perl/Windows can actually do? Regards, Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   3   4   5   6   7   8   9   10   >