Hi everyone,
does anyone know how to pass in parameters from command line to a perl
script?
Is it the same as C++ where i specify an ARGV[ ] and ARGC value or I use
the @ARGV?
Thanks
eric
Hi guys,
I am writing a perl script that will take some command prompt parameters
and linking it with a SQL server database. I sort of have an idea on how
to do it. But need you guys to give me some directions as to which way
is the best.
First, I decided that I will need to generate the SQL s
Thanks for the tip,
But what if I am using Microsoft SQL server 7?
is there a way to do this?
eric
-Original Message-
From: dave hoover [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 12:43 PM
To: Eric Wang; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: creating columns
Hi guys,
Got a quick question.
If I let @foo = "some string";
can I access say the "t" in this string by using $foo[6] ?
thanx
eric
*
*Eric T. Wang *
*Bioinformatic Support and SRA
Hi guys,
I have a quick question, how do I enable my webpage to be able to browse
the users computer and allow him/her to upload files into the server?
is there a particular CGI module? or what's the deal?
Thanks!!
Eric
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
Hi people,
I am trying to take this optional parameter into my perl script.
I use a hypen (-) to indicate that it's a parameter. However, how do i get
rid of that hyphen? so for example:
myexe -hello -world -1 when entered into my script it becomes
just ARGV[0] = hello
ARG[1]=world
ARG[2]=1
?
h
Hi people, just need a quick reference.
how do i split on underscore?( _ ) and on hyphen? ( - )?
i tried split(/\_/, $var) but didn't work
and I also tried split ('_', $var) but didn't work also.
HELP...
Thanks
Eric
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
Hi People,
How do I call a perl script periodically. Say everyday at 2:00am, I copy
one directory to the backup machine?
Thanx
Eric
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yeah, I think you can use chomp();
so use foreach $i (@foo){
chomp($i);
do you things here
}
I am not sure if you can delete the line if it's all blank. But, worth a
try.
;)
Eric
*
*Eric T. Wang
Hi guys, I just configured pine to accept emails from [EMAIL PROTECTED]
to go into another folder.
Please do not reply and disregard this email.
Thanks
Eric
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Guys,
I am wondering which module and documentations I should look for if I
need to allow users of this GUI program to browse their directory and
pick a file.
Thanks
Eric
Can you explain what all that means?
specifically the /!([^!]*)/g part
and the $1 part
I only had limited automaton experience
thanks for your time
Eric
> You could use split(), but you'd have to get rid of the first
> (empty) element. Instead, I would suggest the following regex:
>
> while
I tried sendmail and it says connect to localhost failed. Help please
Eric
On Tue, 21 May 2002, Timothy Johnson wrote:
>
> You can also use Mail::Sendmail or Mail::Sender to send emails from a perl
> script. Both should be on CPAN.
>
> -Original Message-
> From: Tim Musson
> To: [EMAI
Hi guys,
newbie question: what's the equivalent of /* */ as in C++ in PERL??
Thanks
Eric
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I just did this, have fun ^^
you must install Mail-sendmail module
#CODE STARTS HERE
#!d:\perl\bin\perl.exe -w
use strict;
use Mail::Sendmail;
my %mymail;
# use =cut =cut for /* */
my ($To, $subject, $body);
$subject = "subject goes here";
$To = "[EMAIL PROTECTED]";
$body = "Hello friend, \nThi
Hi People,
I have this flat text file with numbers in it.
I tried to use the sort routine but it seems like the numbers were not
sorted at all.
Help..
Eric
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
2002, Timothy Johnson wrote:
>
> Maybe you could give us an example of what you've done?
>
> -Original Message-
> From: Eric Wang [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 28, 2002 1:03 PM
> To: [EMAIL PROTECTED]
> Subject: the sort routine
>
>
>
>
the use of the term system come to mind or the character `systemcommands`
or @filelist = `dir *.mp3 /b` also comes to mind.
^^
Eric
On Fri, 7 Jun 2002, Jeff Hooge wrote:
> All right, first off I'm a total perl newbie (about 2 days now) and am
> looking for some resources on how to do a few th
> the questions are:
>
> a) how do you send commands to it now?
there's an internal command prompt(console) that you can pop up
in half-life
> b) what is a half-life dedicated server?
> Half-life is a extremely popular computer first-person shooting
game.
c) w
Hi people,
I downloaded some modules off activestate's site and wanted to install
the module.
But when I type ppm install name, it gives me an error saying
no PPD file found.
Any suggestions?
Thanks a lot!
Eric
Hi guys,
Here's a newbie question. How do I create a GUI for users using either
UNIX (SOLARIS) or Windows to execute a perl script?
Also, I like that cool box with "browse." in with ability to browse the
system looking for files.
Thank you!
Eric
Hi guys,
I Haven't written in this forum in so long. =)
Just wondering if there are any other software out there that can make
my perlscript independent of the Perl interpreter.
Thanks
Eric
Hi guys,
I have a newbie question. I've tried to update my module packages and
was using ppm on win2k. After I installed Tk, my ppm isn't working
anymore. It'll still give me command prompt, but when I type verify
-upgrade, nothing happens. Can anybody help me?
Thanks
Eric
23 matches
Mail list logo