Hi there,
I always get this error when my script is executed
"timed-out waiting for command prompt at ./logout.pl
line 13"
what i only want is to execute a command on a remote
server and see if it did the right way. It is like
executing my script.pl and check if the result.
I think there
Dear Friends,
My email server has gone crazy, as it is keeping on sending an email that I
had sent just once! I am very sorry for a spam that is happening without
my knowledge and control.
Sorry,
Rex
- Original Message -
From: "Rex Arul" <[EMAIL PROTECTED]>
To: "Daniel Falkenberg"
Daniel,
If your OS is Windows, then try the Perl Development Kit of Activestate
Corp, which enables you to produce EXEs, DLLs, etc
http://www.activestate.com
- Original Message -
From: "Daniel Falkenberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 8:28 P
Daniel,
If your OS is Windows, then try the Perl Development Kit of Activestate
Corp, which enables you to produce EXEs, DLLs, etc
http://www.activestate.com
- Original Message -
From: "Daniel Falkenberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 8:28 P
Daniel,
If your OS is Windows, then try the Perl Development Kit of Activestate
Corp, which enables you to produce EXEs, DLLs, etc
http://www.activestate.com
- Original Message -
From: "Daniel Falkenberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 8:28 P
Hey -
You also might try "perl2exe" (search for it on www.google.com). $40
shareware.
Aloha - Beau.
-Original Message-
From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 2:29 PM
To: [EMAIL PROTECTED]
Subject: Stupid question...
Hey List,
This may sound
Daniel,
If your OS is Windows, then try the Perl Development Kit of Activestate
Corp, which enables you to produce EXEs, DLLs, etc
http://www.activestate.com
- Original Message -
From: "Daniel Falkenberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 8:28 P
Daniel,
If your OS is Windows, then try the Perl Development Kit of Activestate
Corp, which enables you to produce EXEs, DLLs, etc
http://www.activestate.com
- Original Message -
From: "Daniel Falkenberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 8:28 P
Hey List,
This may sound like the stupidest question so far but, I was wondering
the other day is it possible for perl programs (script.pl) to be
compiled like a C/C++ programs are? I can't really find any
documentation on this so I thought I figured I would ask some one here.
Regards,
Daniel
Thank you very much Rex!!
I found out that I didn't have read permissions on the server.
I just had to change the permissions and all is well!!
Once again, Thank You.
It's been a long day, and sometime you just don't think of the simplest
things.
-Original Message-
From: Rex Arul [mailt
No, I haven't tried that yet... I'll do that now.
Thanks
-Original Message-
From: Rex Arul [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 5:08 PM
To: Joshua Colson
Subject: Re: Net::FTP
OK Josh, let us try this:
Why don't you try an ordinary command-line ftp and try to give
Well, that didn't work, unfortunantly.
I'm pretty much stumped!
If anyone knows the answer... Please HELP me!!!
Thanks
P.S. Thanks for the suggestions Rex.
-Original Message-
From: Rex Arul [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 4:37 PM
To: Joshua Colson
Subject: Re:
I'll try it... Thanks
-Original Message-
From: Rex Arul [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 4:37 PM
To: Joshua Colson
Subject: Re: Net::FTP
I might sound silly...Did you try this:
if( $ftp->get( qq($file), "${directory}/${file}" ) ) {
print "it worked...";
}
I'm trying to use Net::FTP to 'get' some files from a ftp server. The
problem I'm having is that some of the files have meta characters in them,
and I cannot seem to figure out how to 'get' the files.
what I have looks like this...
if( $ftp->get( $file, "${directory}/${file}" ) ) {
prin
--Newbie answering! Grain o' salt...
Could it be that strict is objecting to the non-localized variables in the
library script? What do the errors look like?
Also--and I may not understand this fully, so don't trust anything I
say--shouldn't the initialize_dbi subroutine return something to be u
On Friday, October 26, 2001 at 5:38 PM, [EMAIL PROTECTED] (Brett W. McCoy)
wrote:
>
> Sorry, I meant that to say "And it runs without 'use strict'?
Yes the code works fine, untill I try to use strict
Dave
**
* Cora Connection Your We
Hello David,
Saturday, October 27, 2001, David Gilden <[EMAIL PROTECTED]> wrote:
DG> As an exercise I have two files, a library file and a main
DG> file. If I try to 'use strict' my script won't run.
DG> What do I have to change so that things will work correctly with
DG> out clobbering any of
On Fri, 26 Oct 2001, Brett W. McCoy wrote:
> > As an exercise I have two files, a library file and a main
> > file. If I try to 'use strict' my script won't run.
>
> And it runs with 'use strict'?
Sorry, I meant that to say "And it runs without 'use strict'?"
-- Brett
On Fri, 26 Oct 2001, David Gilden wrote:
> As an exercise I have two files, a library file and a main
> file. If I try to 'use strict' my script won't run.
And it runs with 'use strict'? What errors do you get when you turn on
the strict pragma?
> # library file dbi-lib.pl
>
> my $user_name =
Hi,
As an exercise I have two files, a library file and a main
file. If I try to 'use strict' my script won't run.
What do I have to change so that things will work correctly with
out clobbering any of my $vars?
Thanks and have a good weekend,
Dave G.
-
# library file dbi-lib.pl
my $user
> -Original Message-
> From: Lok Group of companies [mailto:[EMAIL PROTECTED]]
> Sent: October 25, 2001 12:05 AM
> To: [EMAIL PROTECTED]
> Subject: wanted help in Selection of User Interface
>
>
> Hi,
>
> I am having learning Perl. I am in the process of selecting a
> complete Open
> S
Mike Singleton [[EMAIL PROTECTED]] quoth:
*>How to I point the Perl CPAN shell to a local respository to search and install
modules?
The CPAN.pm man page covers this. Also, see CPAN::Site.
e.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Oct 26, [EMAIL PROTECTED] said:
>use strict;
>use FileHandle;
>use constant CONSOLE => 'STDOUT';
Instead of the string 'STDOUT', use *STDOUT or even \*STDOUT.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/
Friends,
When I wish to simultaneously output the information to console screen as
well a log file, I am getting an error if I have the use strict pragma
turned on. If I comment it out, it works fine. How would I overcome this
problem?
Here is the pseudo-code:
use strict;
use FileHandle;
use
Jeff mentioned in one post something about Tie::IxHash, which would be
better than this for using a hash but keeping the order preserved. Not
sure if that'd work for you, as I've never tried it. ;)
Brian Arnold
[EMAIL PROTECTED]
> -Original Message-
> From: Etienne
You would change to:
$firstvar = shift(@ARGV);
$secondvar = shift(@ARGV);
or
my ($firstvar ,$secondvar) = @ARGV;
Then you could test if anything passed:
if ( ! defined $firstvar ) {
$firstvar = 'Nothing passed';
$secondvar = 'Nothing
How do I pass and use arguments into the command line?
such as;
> myprogram var1 var2
where the program would read as follows
#!/usr/bin/perl -w
$firstvar = shift(@args);
$secondvar = shift(@args);
print STDOUT "$firstvar";
Hi -
This looks like a hash to me:
my %color_hash = {
"sky" => "blue",
"grass" => "green",
"apple" => "red",
};
for my $key (keys %color_hash) {
print "$key => $color_hash{$key}\n";
}
Aloha - Beau.
Thanks
I need to keep the order for the SQL statement..
Do you think that any method is better? (one array or two)
Etienne
Jeff 'japhy' Pinyan wrote:
> On Oct 26, Etienne Marcotte said:
>
> >my @color_array = (
> > ["sky", "blue"],
> > ["grass", "green"],
>
Sorry, took me 3 hours to figure out that I outwitted myself. Thread closed. Thx.
>>> "Tyler Cruickshank" <[EMAIL PROTECTED]> 10/26/01 09:05AM >>>
Im absolutely stumped on this one. $_[0] is either '#ff' or 'red' it doesnt seem
to matter. When I print to STDOUT I get what I would expect
On Oct 26, Etienne Marcotte said:
>my @color_array = (
> ["sky", "blue"],
> ["grass", "green"],
> ["apple", "red"]
> );
>
>I'd like to print: sky, grass, apple = blue, green, red
That'd be better suited by a hash, but that m
How to I point the Perl CPAN shell to a local respository to search and install
modules?
===
Mike Singleton CCNA, CNE, MCSE
Network Analyst
(253) 272-1916 x1259
(253) 405-1968 (cellular)
[EMAIL PROTECTED]
DaVita Inc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Im absolutely stumped on this one. $_[0] is either '#ff' or 'red' it doesnt seem
to matter. When I print to STDOUT I get what I would expect - the value of $_[0]
printed to the screen. BUT when I print to IMAGE I dont get anything. Why does
$color not have a value when I print to a file
I have a question related to your array of array..
Let's say I have
my @color_array = (
["sky", "blue"],
["grass", "green"],
["apple", "red"]
);
I'd like to print: sky, grass, apple = blue, green, red
Right now I'm usi
Lok Group Of Companies wrote:
>
> In this regard, One of the issues is the front end development -- we want
> Character mode as well as GUI mode. for the application as the client end
> has a motley collection 386, 486, P1, Celeron h/w with varying
> configurations. GUI can be handled with Web br
"Beau E. Cox" wrote:
> >>3. How do I do a pattern search that looks for capital
> >>words only?
>
> Try this:
>
> my $test = "Test: HELLO my name is BEAU Cox";
> $_ = $test;
> my @cap_words = /\s*([A-Z0-9\.@_]+?)\s+/g;
> print "@cap_words\n";
>
> NOTE: the search
Hi Ben,
I am _not_ an expert, but...
>>1. How can I get a directory listing ONLY?
Try File::Find (search www.CPAN.org for the package documentation - It
should be in your Perl distribution by default.
#!/usr/bin/perl
#
# File:Find recursive directory search example example
#
use strict;
Hi all,
I have a couple of questions: I am new to perl, but
have had programming experience before; I am trying to
put together a perl program that fixes Mapinfo
Workspaces by replacing dud file links with working
links. The workspace is text based so perl is a good
bet. Workspaces are made up of
I am trying to interface Verisign's payflowpro into our accounting system
for billing.
Payflowpro is looking for an environment variable to be set so that it can
find a certain file.
I am trying to do this with the following statement:
$ENV{PFPRO_CERT_PATH} = '/usr/local/src/verisign/payflowpr
39 matches
Mail list logo