M K Scott wrote:
Well, it may not be the ideal solution but just for the record I got it to
work.
I used a scalar to contain the correect value:
$pound = chr 156;
Then used unshift to add it to the array.
unshift @array, $pound;
Seems to have done the trick which is all I wa
the help, I'm sure I'll be back soon.
Mark
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of zentara
>Sent: 18 April 2006 20:13
>To: beginners@perl.org
>Subject: Re: beginner help
>
>On Tue, 18 Apr 2006 13:37:11 +01
"M K Scott" schreef:
> I am trying to initialise an array with certain characters in it to
> then match to user input but the '£' symbol is coming up in the
> comparison as a funny looking 'u symbol with a squiggle above. Is
> this due to me being inept at programming or my PC not understanding
>
On Tue, 2006-18-04 at 13:37 +0100, M K Scott wrote:
> I am just starting out teaching myself Perl from books and web resources so I
> apologise if my questions seems a little straight forward but I was hoping to
> ask here to get clarification and so I hope my simple questions do not annoy
> you
I am just starting out teaching myself Perl from books and web resources so I
apologise if my questions seems a little straight forward but I was hoping to
ask here to get clarification and so I hope my simple questions do not annoy
you all and that I have the right forum for these questions :)
Tristram Nefzger wrote:
>
> >Which PPM server are you using Tristram?
>
> I've switched to from ActiveState perl to the Cygwin perl
> package. The latter doesn't seem to include the ppm command.
No. As far as I know PPM is an ActiveState product which you
will get by installing ActivePerl.
> Usi
>Rob Dixon wrote:
>Which PPM server are you using Tristram?
Hey Rob,
To get my attention it's best to include me explicitly on the To list in
addition to [EMAIL PROTECTED]
I've switched to from ActiveState perl to the Cygwin perl package. The
latter doesn't seem to include the ppm command.
Tristram Nefzger wrote:
>
> >Rob Dixon wrote:
>
> >Which PPM server are you using Tristram?
>
> Hey Rob,
>
> To get my attention it's best to include me explicitly on the
> To list in addition to [EMAIL PROTECTED]
The list works on a public basis only. I will send a courtesy
copy to people if it i
Rob Dixon wrote:
>
> Which PPM server are you using Tristram? On my system
>
It's just occurred to me that your PPM shell may be an
old one. Mine starts up with
PPM interactive shell (2.1.5)
and it's my guess that, with a leap of faith, if you
just do
ppm install DBD::Oracle
it may well wo
Tristram Nefzger wrote:
>
> Bob Showalter wrote:
>
> My apologies for being vague.
>
> I have the client sw installed. I can connect and work with my databases
> via SQLPlus just fine.
>
> The issue Im having is I understand I need DBD::Oracle. I cant find it.
> If I go into ppm and do a search Ora
http://www.perl.com/CPAN/modules/by-module/DBD/
-Original Message-
From: jeffrey pearson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 2:21 PM
To: Bob Showalter
Cc: [EMAIL PROTECTED]
Subject: Re: RE: Beginner Help Please- Oracle How To?
My apologies for being vague.
I have
-OracleLogin
4. DBIx-OracleLogin
5. DDL-Oracle
not a DBD::Oracle in sight.
OK. Where do I get this module from?
- Original Message -
From: Bob Showalter <[EMAIL PROTECTED]>
Date: Friday, October 10, 2003 10:53 am
Subject: RE: Beginner Help Please- Oracle How To?
> jeffre
jeffrey pearson wrote:
> Im hoping I could get some beginner help please. Im in the
> middle of writing my first PERL program. My development
> machine is WinXP. Ive downloaded, installed and am working
> with the ActivePERL 5.8. Im trying to connect and access an
> oracle databa
=1&page=0
-Original Message-
From: jeffrey pearson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 1:36 PM
To: [EMAIL PROTECTED]
Subject: Beginner Help Please- Oracle How To?
Im hoping I could get some beginner help please. Im in the middle of
writing my first PERL program. My de
Im hoping I could get some beginner help please. Im in the middle of writing my first
PERL program. My development machine is WinXP. Ive downloaded, installed and am
working with the ActivePERL 5.8. Im trying to connect and access an oracle database.
Ive figured out how and successfully
In article <[EMAIL PROTECTED]> wrote "Michael R. Wolf"
<[EMAIL PROTECTED]>:
>
> If not, I re-assert that there are 4 false values and that every thing else is true.
> ""
> "0"
> 0
> undef
>
It's not simple anyway.
0.0 is a false value, too,
while "0.0" is true value :-)
Same
[EMAIL PROTECTED] (Michael R. Wolf) writes:
> I'd like a few volunteers to take a test that I've put
> together for an "Introduction to Perl" class that I teach.
> If you are a beginner or recent "graduate" of an intro
> course and have a few minutes, would you time yourself
> taking this test an
[EMAIL PROTECTED] (Andrea Holstein) writes:
> In article <[EMAIL PROTECTED]> wrote "John W. Krahn" <[EMAIL PROTECTED]>:
[...]
> > "00" is TRUE
> > "0" is FALSE
>
> It's perhaps not so important for a beginners course,
> but important to know.
>
> Last week, I wasted half an hour for understand
[EMAIL PROTECTED] (John W. Krahn) writes:
> "Michael R. Wolf" wrote:
> >
> > [EMAIL PROTECTED] (John W. Krahn) writes:
> > >
> > > Are you sure there are only three? :-)
> > >
> > > $ perl -le'
> > > print qq(undef is FALSE) unless undef;
> > > print qq("" is FALSE)unless "";
> > > print q
In article <[EMAIL PROTECTED]> wrote "John W. Krahn" <[EMAIL PROTECTED]>:
> print q("0e0" is ), "0e0" ? "TRUE" : "FALSE";
> print q( 0e0 is ), 0e0 ? "TRUE" : "FALSE";
> '
> "0e0" is TRUE
> 0e0 is FALSE
Even without floats, there's a curious behaviour:
> print q("00" is ), "00" ? "TRUE" : "FA
"Michael R. Wolf" wrote:
>
> [EMAIL PROTECTED] (John W. Krahn) writes:
> >
> > Are you sure there are only three? :-)
> >
> > $ perl -le'
> > print qq(undef is FALSE) unless undef;
> > print qq("" is FALSE)unless "";
> > print qq("0" is FALSE) unless "0";
> > print qq(0 is FALSE) unle
[EMAIL PROTECTED] (John W. Krahn) writes:
> "Michael R. Wolf" wrote:
> >
[...]
> > Any value that is not false is true. What 3 values indicate
> > false?
>
>
> Are you sure there are only three? :-)
>
> $ perl -le'
> print qq(undef is FALSE) unless undef;
> print qq("" is FALSE)unless
[EMAIL PROTECTED] (Peter Scott) writes:
> At 01:15 AM 2/2/2002 -0500, Michael R. Wolf wrote:
>
> >I don't usually give quizes at the end of class, but a
> >client of mine has requested it. (Required it in fact. No
> >test, no payment!)
> >[snip]
> > | Sigils and data types |
>
On Sat, Feb 02, 2002 at 01:15:16AM -0500, Michael R. Wolf wrote:
> ==
>| Hash iteration |
> ==
>
>
> %aphorism = (
> roses => red,
>
On Sat, Feb 02, 2002 at 04:10:58AM -0800, John W. Krahn wrote:
> "Michael R. Wolf" wrote:
> > Any value that is not false is true. What 3 values indicate
> > false?
>
>
> Are you sure there are only three? :-)
>
> $ perl -le'
> print qq(undef is FALSE) unless undef;
> print qq("" is FALSE)
At 01:15 AM 2/2/2002 -0500, Michael R. Wolf wrote:
>I don't usually give quizes at the end of class, but a
>client of mine has requested it. (Required it in fact. No
>test, no payment!)
>[snip]
> | Sigils and data types |
>[snip]
>
> * _
You're teaching typegl
"Michael R. Wolf" wrote:
>
> I'd like a few volunteers to take a test that I've put
> together for an "Introduction to Perl" class that I teach.
> If you are a beginner or recent "graduate" of an intro
> course and have a few minutes, would you time yourself
> taking this test and send me the res
1:23am
>
> Unless otherwise directed, fill in the blank.
>
> ==
>| Sigils and data types |
> ==
>
> Sigil Variable type
> = ==
I'd like a few volunteers to take a test that I've put
together for an "Introduction to Perl" class that I teach.
If you are a beginner or recent "graduate" of an intro
course and have a few minutes, would you time yourself
taking this test and send me the results?
==
29 matches
Mail list logo