Re: Perl and mouseover

2004-04-19 Thread Morten Liebach
On 2004-04-19 03:11:03 -0500, Jerry Preston wrote: > I am trying to figure out how and what is the best and simplest way to use > mousover in a per script. All I want to do is display some text data. Any > ideas? It sounds like you want to use Perl as JavaScript. You can't do that. Either make

Re: How to determine if STDIN has piped data?

2004-04-01 Thread Morten Liebach
On 2004-03-30 21:35:21 -0700, Bryan Harris wrote: > > > > On Mon, 29 Mar 2004 00:38:50 -0700 > > Bryan Harris <[EMAIL PROTECTED]> wrote: > > > >>> Alternatively, you can use the '-t' operator: > >>> > >>> exit 0 if -t STDIN > >> > >> > >> I've been waiting for this for a LONG time, thanks Smo

Re: Reformatting the Date

2004-03-04 Thread Morten Liebach
On 2004-03-03 11:54:51 +0200, John wrote: > I receive the date from the Oracle as DD/MM/YY and i want to insert > that date in a mysql date field. > > I know that mysql date form is -MM-DD. > > Well, do you know if there is any date function to do the job? Yes, Date::Manip, it can do almost

Re: Use strict (beginner question)

2003-04-04 Thread Morten Liebach
nt "==" instead of "= =". "=" is an assignment. "==" is a comparison. I can recommend Learning Perl or one of the other nice beginners books, you wouldn't get into these things then. And use strict and warnings always, from the beginning of all new sc

Re: embedding perl in html

2003-03-26 Thread Morten Liebach
x27;t tried myself. I'm right now making a website using perl cgis included via Apaches SSI, that's another possibility. Hope this helps Morten -- OpenPGP: 0xF1360CA9 - 8CF5 32EE A5EC 36B2 4E3F ACDF 6D86 BEB3 F136 0CA9 Morten Liebach <[EMA

Re: Using Print -strange behavior

2003-03-24 Thread Morten Liebach
reeting="Hello World\n"; print $greeting; With my shell prompt the \n in $greeting is necessary, else the output is eaten by the prompt. Hope this helps Morten -- OpenPGP: 0xF1360CA9 - 8CF5 32EE A5EC 36B2 4E3F ACDF 6D86 BEB3 F136 0CA9 Mor

Re: How do you put a delay/pause/wait in Perl?

2002-08-13 Thread Morten Liebach
to do this without using a > 'while' loop, because I don't know what that would do to the system load. Is 'perldoc -f sleep' what you're looking for? It's just like in Unix sleep(1). :) Have a nice day Morten -- Morten L

Re: Uptime on Remote computer?

2002-08-12 Thread &#x27;Morten Liebach'
amba => 'operator', > web => 'bofh', > ); > > foreach my $host (sort keys %machines) { > print $host . ':' . `ssh -l $machines{$host} $host "uptime"`; > } > script end -- Morten Liebach <[EMAIL PROTECTED]>, http://m.mongers.org/ PGP-key: http://m.mongers.org/m_gpg.asc -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Uptime on Remote computer?

2002-08-11 Thread Morten Liebach
should have this already. :) Possible solution for a Win2K box: Install Cygwin on it, and run an sshd on it, then it'll look just like the BSD machines scripting wise. I haven't tried this as I have no Microsoft OS'en with me ATM. Have a nice day

Re: Looking for multi platform to test my script.

2002-08-03 Thread Morten Liebach
on a spare machine and use it for development. You can also install it in VMWare on your normal workstation, but that takes a pretty hefty machine, and VMWare isn't cheap at all. Hope this helps, have a nice day Morten -- Morten Liebach <[

Re: The True Guide to Learning Perl was Re: Thank You! :)

2002-07-17 Thread Morten Liebach
On 2002-07-16 12:22:45 -0700, drieux wrote: > Or are you folks just DEMONS in PerlieCoderCloth, > trying to lead the innocent into Perdition Perldition? };-) -- Morten Liebach <[EMAIL PROTECTED]>, webpages at http://kallisti.dk/ PGP-key: http:/