3rd edition should be out in about a week or so. When it comes out,
maybe you should take a look at it. It's practically impossible to come
up with a book that is a good learning tool for everyone.
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
New Songs/
n, I would *guess* that you have an
*extremely* old version of perl.
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
"That's one of the tragedies of this life: that the men most in need
of a beating up are always enormous." - John D. Hackensacker III
he administrator?
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
Okay, that's it. 30 days no computer use penalty for being stupid
- Greg at http://www.userfriendly.org
n existing script on our catalog, that exact line (minus the
> "Hi Dude") with the parens works within a while loop.
What error are you getting? As far as I can tell, that line would print
"Hi Dude (project_number) \n"
rather than give an error ($resultCat being un
On Tue, May 29, 2001 at 01:02:58PM +0200, Aaron Craig wrote:
>
> I end up using #! perl out of habit, even if I don't end up using
> switches.
Of course, another good reason to put a shebang line in a windows perl
program is for portability.
dha
--
David H. Adler - <[EMAIL P
re trying to do, there
must be a better way to do it. In fact, you should probably forget I
even brought this up.
MOVE ALONG, NOTHING TO SEE HERE! :-)
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
"You can't give a 4 to truth." - Saul Williams
hat emacs would fit the bill here...
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
A London.pm thread topic is like a non-alchoholic ingredient in a
cocktail, its only there so you can pretend not to be an inebriated
addict. - Greg McCarroll
look at
perldoc perlref
and
perldoc perldsc
best,
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
i gave up on every non-perl language because I had too much real work
to do and it [perl] came into my life and painted pretty flowers all
over my walls -Peter Fagan
ws which still requires a
> shebang line .. or in cygwin or a shell that's been ported to Windows or
> something else unusual like that
The shebang line is also used even under Windows for command line
switches... like the rather important -w.
dha
--
David H. Adler - <[EMAIL PROTECT
On Wed, May 02, 2001 at 09:00:27PM +0200, M.W. Koskamp wrote:
>
> - Original Message -
> From: David H. Adler <[EMAIL PROTECTED]>
> > For what it's worth two ideas present themselves to me.
> >
> > --code
> >
> > use Ben
ang. that was meant to be C<$q = substr($x, $_, 1)>.
This happened because I was trying to get out of here. I wound up late
anyway. Figures I would have screwed this up too.
never mind
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
I expect my version
llclock secs ( 8.96 usr + 0.00 sys = 8.96 CPU)
substring: 5 wallclock secs ( 4.35 usr + 0.00 sys = 4.35 CPU)
Go wild. :-)
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
All I felt was his fear... And the exploding eyeballs. Did I mention
I hate this gig? - Cordelia Chase
On Sat, Apr 28, 2001 at 11:27:58AM +0530, Joel Divekar wrote:
> Hi
>
> At 12:16 PM 4/27/2001 -0400, David H. Adler wrote:
> >
> >Given that there *is* no perl6 (yet), I'm guessing you don't really mean
> >that, right?
>
> Yes I was also surprised abo
On Fri, Apr 27, 2001 at 09:25:33AM -0700, Paul wrote:
>
> --- "David H. Adler" <[EMAIL PROTECTED]> wrote:
> > On Thu, Apr 26, 2001 at 06:43:37PM -0500, Arante, Susan wrote:
> > > This used to be working but after my very adventurous fiasco
> > > (de
on NT.
Given that there *is* no perl6 (yet), I'm guessing you don't really mean
that, right?
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
however, if people don't like Perl, they don't have to use it. they
can stay at the office solving the
oggling
Regexp::Common module:
By default, this module exports a single hash ("%RE") that stores
or generates commonly needed regular expressions (see the section
on "List of available patterns").
Which might simplify this greatly for numbers of any complexity.
dh
$password, $logfile, $filename) = @ARGV
> # Expect 4 arguments
> # Ignore the rest for now
Note, of course, that this does not actually *remove* the first four
arguments from @ARGV.
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
"I go where I will and I do what I can" - Henry Fool
When use()ing modules, you just use the name of the module (e.g. CGI),
rather than the name of the file the code of the module resides in (e.g.
CGI.pm).
dha, noting that that some of the terms, like "name", above may not be
strictly, *strictly* accurate, but should be good enough for this
discu
actual scalar, rather than a one element slice can be found there. I'd
put it in here, but vim is giving me some pasting problems at the
moment...
dha
--
David H. Adler - <[EMAIL PROTECTED]> - http://www.panix.com/~dha/
Linguists don't know much, but they do know that nobody can succeed in
telling people at large how to speak. - Larry Wall
;
> }
> }
You seem to have your '$' misplaced in your pattern. '$' in a regex
anchors a match at the end of a string. Also, since '_' is not special
in a regex, it doesn't need backslashing. Based on your example above,
C may be what you're looking fo
20 matches
Mail list logo