RE: remote login using perl

2006-10-18 Thread Sayed, Irfan \(Irfan\)
I need to login on remote machine which is windows , and i think windows doesent support ssh login unless ssh server installed. Either i have to use VNC , remote desktop shairing etc. I need to automate this using script. Please help. Regards Irfan. _ From: Blue Band [mailto:[

Re: How to do it in the client side

2006-10-18 Thread Jeff Pang
> I want to create a page with certain icons when clicking them >should > execute certain scripts or commands in the client side. > Hello, I think you need the Javascripts. -- Books below translated by me to Chinese. Practical mod_perl: http://home.earthlink.net/~pangj/mod_perl/ Squ

How to do it in the client side

2006-10-18 Thread Nath, Alok (STSD)
Hi, I want to create a page with certain icons when clicking them should execute certain scripts or commands in the client side. With perl CGI I can create the page but it's executed on the server side . Is there any way by which I can do that in the client side . T

RE: More Info About $| = 1;

2006-10-18 Thread bou, hou \(GE Money, consultant\)
I am using EPIC too. But when I open the *.pm file with utf-8 , eclipse always show out of system virtual memory error,and then I have to shut down the eclipse. who can tell me why? -Original Message- From: Chris Share [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 7:54 AM To

Re: More Info About $| = 1;

2006-10-18 Thread John W. Krahn
Chris Share wrote: > Hi, Hello, > I'm a C programmer teaching myself Perl. I'm working on Windows XP using > ActivePerl and Eclipse (EPIC). > > I've got a question about $| = 1; > > If I run the following program: > > #!/usr/local/bin/perl > > use strict; > use warnings; > > print "What is y

Re: More Info About $| = 1;

2006-10-18 Thread Tom Phoenix
On 10/18/06, Chris Share <[EMAIL PROTECTED]> wrote: I've got a question about $| = 1; ... If I add $| = 1; at the top of the program this fixes the problem and the program runs as expected. Normally, output is buffered for efficiency; instead of writing each byte at once, output is saved in

Re: More Info About $| = 1;

2006-10-18 Thread Omega -1911
Hi, I'm a C programmer teaching myself Perl. I'm working on Windows XP using ActivePerl and Eclipse (EPIC). I've got a question about $| = 1; Hello to you as well. To answer your question from above, the $| = 1; is simply a method to prevent Perl from buffering and to go ahead and output da

RE: More Info About $| = 1;

2006-10-18 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I copied and ran without the $|=1 and it displays the text What is your name? and I enter na d it completes. I tried both from the cmd.exe and a kornshell and both wroked the same way. Might it have something to do with Eclipse? If you have any problems or que

More Info About $| = 1;

2006-10-18 Thread Chris Share
Hi, I'm a C programmer teaching myself Perl. I'm working on Windows XP using ActivePerl and Eclipse (EPIC). I've got a question about $| = 1; If I run the following program: #!/usr/local/bin/perl use strict; use warnings; print "What is your name? "; my $name = ; chomp $name; print "Hello, $

Re: Just asking ... why the dot or no dot

2006-10-18 Thread Travis Thornhill
The most common way this is used is to reload edits that you make to a resource file -- like .profile -- into the current shell. $> . .profile or $> . .bashrc HTH, - Travis. Tommy Nordgren <[EMAIL PROTECTED]> wrote: On 18 okt 2006, at 22.47, [EMAIL PROTECTED] wrote:

Re: Just asking ... why the dot or no dot

2006-10-18 Thread Tommy Nordgren
On 18 okt 2006, at 22.47, [EMAIL PROTECTED] wrote: Hi all, Just want to know what really is the difference when running a script as . myscript or simply myscript, i.e. the first one with a dot infront of it and the other one without a dot. Or does it matter only when invoking the scrip

Re: Just asking ... why the dot or no dot

2006-10-18 Thread Owen
On Thu, 19 Oct 2006 09:47:37 +1300 [EMAIL PROTECTED] wrote: > Hi all, > > Just want to know what really is the difference when running a script as > > . myscript or simply myscript, i.e. the first one with a dot infront of it and > the other one without a dot. > > Or does it matter only when in

Re: Sort uniq

2006-10-18 Thread Rob Dixon
Shiping Wang wrote: At 02:04 PM 10/18/2006, Johnson, Reginald (GTI) wrote: I am trying to understand this sort and uniq code that a came across in the archive. This works, but I thought the %uniq would have the sort and uniqed values. What is needed if I didn't want to print the values out imme

Re: HTML Form question

2006-10-18 Thread Robert Hicks
Omega -1911 wrote: On 10/18/06, Robert Hicks <[EMAIL PROTECTED]> wrote: I have this as an option field: Business Objects Support Is the "value" what gets passed back? In this case "5"? The associated *name* and *value* are passed on to the Perl script if you are pointing your form to a Perl

Just asking ... why the dot or no dot

2006-10-18 Thread benbart
Hi all, Just want to know what really is the difference when running a script as . myscript or simply myscript, i.e. the first one with a dot infront of it and the other one without a dot. Or does it matter only when invoking the script from within a script? Any thoughts will be very much appre

Re: Sort uniq

2006-10-18 Thread Paul Johnson
On Wed, Oct 18, 2006 at 03:04:32PM -0400, Johnson, Reginald (GTI) wrote: > I am trying to understand this sort and uniq code that a came across in > the archive. I don't see anything to do with sort in this code. > This works, but I thought the %uniq would have the sort > and uniqe

Re: Sort uniq

2006-10-18 Thread Shiping Wang
At 02:04 PM 10/18/2006, Johnson, Reginald (GTI) wrote: I am trying to understand this sort and uniq code that a came across in the archive. This works, but I thought the %uniq would have the sort and uniqed values. What is needed if I didn't want to print the values out immediatedly but put them

Re: remote login using perl

2006-10-18 Thread Blue Band
Irfan, When you say remote login, what do you mean by that? is that via ssh or via remote desktop or any the way? If the remote machine can support ssh connection, you can use perl ssh modules to remotely login and perform anything you want via perl script. Hope this help On 10/17/06, Sayed, I

Re: HTML Form question

2006-10-18 Thread Omega -1911
On 10/18/06, Robert Hicks <[EMAIL PROTECTED]> wrote: I have this as an option field: Business Objects Support Is the "value" what gets passed back? In this case "5"? The associated *name* and *value* are passed on to the Perl script if you are pointing your form to a Perl script. For example

Sort uniq

2006-10-18 Thread Johnson, Reginald \(GTI\)
I am trying to understand this sort and uniq code that a came across in the archive. This works, but I thought the %uniq would have the sort and uniqed values. What is needed if I didn't want to print the values out immediatedly but put them in an array or hash? #!/usr/bin/perl use strict; use wa

HTML Form question

2006-10-18 Thread Robert Hicks
I have this as an option field: Business Objects Support Is the "value" what gets passed back? In this case "5"? Robert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Play wav/au (sound) files

2006-10-18 Thread Gerald Wheeler
I see this type of code numerous places throughout the Web in html files. Acer negundo The window shows the correct pronunciation in the html page. I have a need to play (via the browser) wav/au files from within an html and or jsp page. Does anyone know how to do this or can point me to an ex

Re: Database migration

2006-10-18 Thread Robert Hicks
Peter Scott wrote: On Tue, 17 Oct 2006 13:51:13 -0400, Robert Hicks wrote: I am migrated from Access to Oracle. I have prepped the Access data (meaning I have cleaned it up). What is the best "Perl" way to migrate? I am supposing I can do a "select" query on the Access and do an insert into t

Re: Binary to hex conversion

2006-10-18 Thread W.P.Nijhof
divya wrote: I've a file with every line having 32 bits of binary data. I need to convert every line data to hex data. my $binary = '11101010101010101010101010101010'; my $int = unpack("N", pack("B32", substr("0" x 32 . $binary, -32))); my $hex = sprintf("%x", $int ); print $hex; HtH WayPay

Binary to hex conversion

2006-10-18 Thread divya
Hi, I've a file with every line having 32 bits of binary data. I need to convert every line data to hex data. I tried pack(), unpack(). But didnt get desired results. Kindly suggest me a way. Thanks, Divya

Re: Database migration

2006-10-18 Thread Peter Scott
On Tue, 17 Oct 2006 13:51:13 -0400, Robert Hicks wrote: > I am migrated from Access to Oracle. I have prepped the Access data > (meaning I have cleaned it up). > > What is the best "Perl" way to migrate? I am supposing I can do a > "select" query on the Access and do an insert into the Oracle on

Hide the Window

2006-10-18 Thread ppp ppp
HI All , I have created a small program which will open notepad and write something to it .. infinitely . The program will die if somebody closes the window . To cut jokes with my friends I want to write a prgramm so that I can hide the Cmd

Re: Just asking ... (dot) . and (no dot)

2006-10-18 Thread Ken Foskey
On Wed, 2006-10-18 at 16:43 +1300, [EMAIL PROTECTED] wrote: > Hi all, > > Just want to know what really is the difference when running a script as > > . myscript or simply myscript, i.e. the first one with a dot infront of it and > the other one without a dot. > > Or does it matter only when inv

Just asking ... (dot) . and (no dot)

2006-10-18 Thread newbie
Hi all, Just want to know what really is the difference when running a script as . myscript or simply myscript, i.e. the first one with a dot infront of it and the other one without a dot. Or does it matter only when invoking the script from within a script? Any thoughts will be very much appre

Re: Plz HELP

2006-10-18 Thread Mumia W.
On 10/18/2006 12:14 AM, Dharshana Eswaran wrote: Hi All, I am a student who is working on Perl on my project. I am a beginner in Perl. I know how to read the data from files into a variable or array. I mean, i know to read the data line by line into a varaiable or teh full file contents into a