I am wondering if there is a way to return automatically to a form if the
information is not correct? Such as the @ in a email address is left out! I
know how to check for this problem but don't know how to auto return. Any
help is appreciated!
Daryl Merrifield
--
To unsubscribe, e
ows command
processor, ie cmd.exe, is capable of printing in colour. You could install
Cygwin(some unix tools for windows) & use bash(an alternative shell) in
place of the standard windows shell, that may work.
Hope thats of some help
Daryl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
& wasn't aware that the default
console supported colours. Very usefull tidbit.
Aloha => Beau.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Daryl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
uld flow, rather than the finer details like syntax.
Thanks,
Jose
Daryl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Make sure the path to your exe is correct. I had that problem before.
> -Original Message-
> From: prachi shroff [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 07, 2001 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: system
>
>
> Hi,
>
> I am trying to run an executable file
Hi,
I am writing a script to be used on Windows and many different flavors
of Unix. I am looking for a good way to convert Unix paths to Windows. Any
Ideas?
Thanks,
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
http://www.geodesic.com
[EMAIL PROTECTED]
Hi,
I am looking for an easy way to convert bash scripts to Perl. I have
about 1000 scripts, and would prefer not to convert them by hand. If you
have any idea where I can get a converter, I would greatly appreciate the
help.
Thanks,
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
5-STABLE (sparky) #6: Sat Nov 4 12:00:07
CST 2000
/chicago/sqa/sqa
sqa@sparky#
+++++
Thanks,
Daryl Hoyt
__
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I have used this example program to telnet to a
different box (from a RH Linux 6.2 box to a FreeBSD
box), but I cannot get the right output. It appears
to just echo the command and the path. Any ideas what
I am doing wrong. I thought it was supposed to print
out the list of who is on th
s
out of the way? I supposed I would make sense of it all soon enough. But
I would prefer to have something to read about those topics for reference.
--
Daryl Styrk
Naples FL, USA
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
actually mention Perl in this reply(which would seem
apropriate), you can script to your hearts content on the webserver,
preferably even on the IBM machine that's being queried.
Good luck,
Daryl
--On 11 February 2003 13:27 -0500 Steve Lobach <[EMAIL PROTECTED]>
wrote:
I've been
In “Learning Perl”, Pg. 116, is found this sentence: Whatever calculation is
last performed in a subroutine is automatically also the return value.
I have a subroutine that (almost) ends with this loop:
foreach my $line (@lines) {
$sum += evaluate($line);
}
What I want to return i
I use vi only when nothing else is available. ;->
-Original Message-
From: anton [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 8:08 AM
To: [EMAIL PROTECTED]
Subject: Re: Re: Editor
I've listen to you all about the editors problem
Is anybody out there still using the old bottom-
I believe chomp will take care of the line-ending code.
-Original Message-
From: System Administrator [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 1:49 PM
To: [EMAIL PROTECTED]
Subject: Problems with ^M
This is for newbies, right? Can anyone tell me why a s/^M//g won't get rid
What are the errors? It works fine here.
-Original Message-
From: Richie Crews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 10:27 AM
To: [EMAIL PROTECTED]
Subject: Ok brain fart here...
Ok I am beating my head why this is not working...
$fname = ;
chomp $fname;
$fletter
Hi,
I'm looking for a program that can make a windows executable out of a Perl
script. The exe would then be run on computers that do not have Perl
installed on them. Does anyone have any suggestions or recommendations?
Thanks,
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
This link takes you to a great beginner's page. I find it very useful and
still reference it occasionally.
http://www.cs.unm.edu/~bwylie/perl/start.html
-Original Message-
From: Randy5235 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 7:18 AM
To: [EMAIL PROTECTED]
Subject: Pe
I do not believe that you need the "&" before the function call.
-Original Message-
From: Birgit Kellner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 12:52 PM
To: [EMAIL PROTECTED]
Subject: is this sub called correctly? am I missing something?
I have a sub called and it do
Hi,
I am looking for a way for Perl to determine how many processors are on a
system. I know in Windows, I can use the NUMBER_OF_PROCESSORS environment
variable, but *nix doesn't have this. Any Ideas???
Thanks,
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
Hi,
I would like to run a script that would significantly change the
environment several times. I was wondering if there is a way to push and
pop the environment table in Perl so I could always start with the original
environment table. Any ideas.
Thanks,
Daryl J. Hoyt
Performance
You could use:
system ("dir $servervolume > dirinfo") || ($var = 0);
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<http://www.geodesic.com>
<mailto:[EMAIL PROTECTED]>
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Try $::whatever. It may be using strict -w.
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<http://www.geodesic.com>
<mailto:[EMAIL PROTECTED]>
-Original Message-
From: Chris Zampese [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 9:38 A
roustrup
"Perl Cookbook" Christiansen and Torkinton (O'Reilly Press)
"Operating System Design" Douglas Comer and Timothy V. Fossum
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<http://www.geodesic.com>
<mailto:[EMAIL PROTECTED]>
-Orig
How about:
if($string eq $name)
{
$string = "#".$string;
}
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<http://www.geodesic.com>
<mailto:[EMAIL PROTECTED]>
-Original Message-
From: Jose Vicente [mailto:[EMAIL PROTECTED]]
Sent: Fri
I have several scripts that I would like to get data from several machines.
I have seen the ssl and telnet modules, but is there one for rsh. It has
been recommended to me that rsh would be a better approach.
Regards,
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<h
anks in advance
-Original Message-
From: KeN ClarK [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 9:16 AM
To: Daryl J. Hoyt
Cc: Beginners Perl; Perl-Unix-Users
Subject: Re: Is there a way to rsh (or remsh) in Perl?
search.cpan.org. it's wonderful.
http://search.cpan.or
e would be
greatly appreciated.
Thanks,
Daryl J. Hoyt
#!/usr/local/bin/perl -w
use strict;
use Net::Telnet ();
$::command = "p4 sync -f \$HOME/p4/eng/sqa/tools/...";
$::username = "sqa1";
$::passwd = "***";
$::machine = "sparky";
$::t = new Net::Te
Try $::root. Or if you're using a package (like package bob), use
$bob::root.
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<http://www.geodesic.com>
<mailto:[EMAIL PROTECTED]>
-Original Message-
From: Scott Taylor [mailto:[EMAIL PROTECTED]]
Sent
=~ s/|GRP|//;
$WhatFollowsGRP = $line;
}# end if
}# end foreach loop
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<http://www.geodesic.com>
<mailto:[EMAIL PROTECTED]>
-Original Message-
From: Busse, Rich [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26,
s/\t454354//g;
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<http://www.geodesic.com>
<mailto:[EMAIL PROTECTED]>
-Original Message-
From: KEVIN ZEMBOWER [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 10:58 AM
To: [EMAIL PROTEC
E: Substitution: How do I say ...
Hi, Daryl, thanks for writing.
Wouldn't this substitute for tabs which DO have a 454354 after them? I
was asking how to sub for tabs which do NOT.
-Kevin
>>> "Daryl J. Hoyt" <[EMAIL PROTECTED]> 03/29/02 12:32PM >>>
an example.
#!/usr/local/bin/perl -w
push(@INC, "/usr/home/aaa/"); # only needed if someScript.pl is not in the
@INC dir, which includes the local dir
require 'someScript.pl';
&someScriptFunction;
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<ht
have tried both unix
and windows styles). I have even copied the expat.h file into the directory
where it is supposed to be built. Anyone have any ideas what else I can do?
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<http://www.geodesic.com>
<mailto:[EMAIL PROTECTED]>
I think the line is supposed to be:
use Win32::ODBC;
Thanks,
Daryl J. Hoyt
Software Engineer
Geodesic Systems
< http://www.geodesic.com>
< mailto:djh@;geodesic.com>
-Original Message-
From: Angel Iliev Kafazov [mailto:angel.kafazov@;mail.bg]
Sent: Thursday, November 07
uff
exit(0);
}
waitpid($pid,0);
Daryl J. Hoyt
Software Engineer
Geodesic Systems
312-832-2010
< http://www.geodesic.com>
< mailto:djh@;geodesic.com>
-Original Message-
From: chad kellerman [mailto:ckellerman@;alabanza.com]
Sent: Wednesday, November 13, 2002 2:32 PM
To: [EMAIL
Hi,
I am trying to write a script to kill all processes named $string. I am
not sure how to handle the regex the right way. Here is a sample of the
command:
djh 17893 17892 0 Jul03 pts/16 00:00:00 rlogin test3
djh 6401 25628 0 Jul05 ?00:00:00 [rhn-applet ]
djh 6
ID for the fork in the if statement and not the
one from the system call. Is there any way to get the PID from the child?
Any help would be greatly appreciated.
Thanks,
Daryl
It returns the first value of an array and then increments the index.
Daryl J. Hoyt
Software Engineer
Geodesic Systems
312-832-2010
< http://www.geodesic.com>
< mailto:[EMAIL PROTECTED]>
-Original Message-
From: Adriano Sastre Vieira [mailto:[EMAIL PROTECTED]]
Sent: Tues
appreciated.
Thanks,
Daryl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You can pass in a variable it would be something like this:
$lofile = " somefile";
file_read($lofile) ;
sub file_read($)
{
my ($file) = @_;
while (<$file>)
blah..blah..
}
Daryl J. Hoyt
Software Engineer
Geodesic Systems
312-832-2010
< http://www.geodesic.com>
<
40 matches
Mail list logo