Hi,
I just added to my Linux System(RedHat), MySQL and i want to write a program
in
PERL that adds user account.
if i'm working directly with Linux i would open the shell command and type
shell>mysql --user = root --password =password mysql
then i would get
mysql>
and from there i would type GR
1. One of the things that got me hooked on Perl in the first place (besides
the fact that I didn't have to fork out X-hundred dollars for a compiler and
books) was the fact that it is very easy to start learning, but complex
enough that I've been using it for a little over a year now, and I sti
Volks,
for those who once thought of the game as
safely partitioned with
*nix Xor WIN::*
as two separate head spaces for coding,
those simple days have left - so now more
than ever perlers are going to have to
work across that divide.
Those with the experience on the WIN::* side
are g
On Saturday, June 15, 2002, at 10:50 , Michael Edwards wrote:
>
[..]
> 1.Is it hard to learn
Yes and No - There are some gotcha's depending upon which
is your coding background.
> 2.Are there any good websites about learning it
PerlSonally I have been collecting some URL's at:
http://
On Saturday, June 15, 2002, at 03:04 , Michael Pratt wrote:
> Whats the command for removing the CRLF?
>
> Mike
Mike,
As noted the simple solution is 'chomp' - assuming
that you are on a system that considers to
be the EOL token...
but sometimes you want to expressly get the eolOut:
http://
Did anybody get Net::SCP to work in an NT env machine?
I tried
use Net::SCP qw(scp iscp);
...
...
$scp = Net::SCP->new( $hostname, $username ) or die "foo";
scp("$username\@$hostname\:$remote_dir$filename", "c:\\$filename") or die
"bar";
but the program is just hanging without any output or prom
Add
|| die etc, etc
to your $sth->execute() statement -- possibly the error messages will
help you debug this better.
--- Yuan Cheng <[EMAIL PROTECTED]> wrote:
> Hi, there:
>
> I try to write a perl code that takes form data from
> html page and inserts or updates database tables. I
> have s
Thanks,
Geo::Metar was all I needed. After hunting around a little longer, I found
there was already a module that could do all I needed.
Application's finished, and working wonderfully.
- Original Message -
From: "Daniel Gardner" <[EMAIL PROTECTED]>
To: "Chris Knipe" <[EMAIL PROTECTE
On Sunday 16 June 2002 01:29, Chris Knipe wrote:
> Hi,
Hello,
> How can I cut off the last char. of a string?
>
> $string = "160700Z";
>
> I want to remove the Z ?
$string =~ s/.$//;
substr $string, -1, 1, '';
chop $string;
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail
Hi,
I'm new to perl and would like to find out more about it. I have a few
Q's
1.Is it hard to learn
2.Are there any good websites about learning it
3.Is it worth learning
I've been using computers for some time now (i'm nearly 14 and have been
using them since i was about 3 or
Check perldoc -f chop
http://www.perldoc.com/perl5.6.1/pod/func/chop.html
Sunday, June 16, 2002, 9:29:00 AM, Chris Knipe wrote:
> Hi,
> How can I cut off the last char. of a string?
> $string = "160700Z";
> I want to remove the Z ?
> This is to import METAR weather data if anyone's interes
Hi,
How can I cut off the last char. of a string?
$string = "160700Z";
I want to remove the Z ?
This is to import METAR weather data if anyone's interested, and if someone
has a script which process and imports the Metar data already, I'd
appreciate it allot :P
--
me
--
To unsubscribe, e-
12 matches
Mail list logo