Nevermind I am completely on crack, ignore my entire last email, your putting
a scalar in a for loop threw me off. You are in fact binding against $_. I
will now retreat under a rock of embarassment and seriously re-consider my
association with the entire Perl language. What a crappy day...
On Fri, Oct 11, 2002 at 01:50:53PM -0500, James Edward Gray II wrote:
> It's the indirect method call syntax, as far as I understand.
It looks like it, but it isn't. See
http:[EMAIL PROTECTED]/msg33969.html for a recent
discussion on that.
> Personally though, I wouldprefer to see your example
On Friday, October 11, 2002, at 05:01 PM, Michael Fowler wrote:
> On Fri, Oct 11, 2002 at 01:50:53PM -0500, James Edward Gray II wrote:
>> It's the indirect method call syntax, as far as I understand.
>
> It looks like it, but it isn't. See
> http:[EMAIL PROTECTED]/msg33969.html for a
> recent
Try this:
SWITCH: {
$a >= 90 && do {print "A"; last SWITCH;};
$a >=80 && do {print "B"' last SWITCH;};
$a >=70 && do {print "C"; last SWITCH;};
$a >=60 && do {print "D"; last SWITCH;};
print "F";
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
On Fri, 11 Oct 2002, David Garamond wrote:
> is anybody aware of other perl
> modes out there which might be 'smarter'?
Yes, cperl-mode might help you. It came with my Emacs distribution. Be
aware, however, that it isn't perfect either. At least in my version,
it has a problem with the \( ... )
Chris Benco wrote:
>The problem is that the script is supposed to loop basically forever until
>it finds something. It does this for awhile. The program works for about
>24 hours at which point it just stops. I've tried changing to loop time
>
>
As a wag.. is it possible you are checking for
i've recently upgraded emacs from 20 to 21.2 and was delighted that the
syntax coloring now works over telnet sessions. however, i've noticed
that the perl mode which comes with the emacs distribution is not
'smart' enough. mainly, it can't detect strings which are quoted by q()
or qq() (unfor
When I make perl segfault due to something stupid I did should I just ignore
it or report it as a bug? (yes I can reproduce it)
thanks
shawn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
John W. Krahn wrote:
> Tom Allison wrote:
>
>>I'm trying to make a little perl script that reads the subject
>>lines from email.
>
>
>>From files on your HD or from an SMTP server?
>
SMTP server.
I'm trying to make an enhanced filter to procmail.
--
Tact is the art of making a point wit
procmail: Executing "/root/confirm.pl"
sendmail: warning: the Postfix sendmail command has set-uid root
file permissions
sendmail: warning: or the command is run from a set-uid root process
sendmail: warning: the Postfix sendmail command must be installed
without set-uid root file permissions
--
On Sat, Oct 12, 2002 at 04:10:59PM +0400, Fogle Cpl Shawn B wrote:
> When I make perl segfault due to something stupid I did should I just ignore
> it or report it as a bug? (yes I can reproduce it)
perl shouldn't segfault, even if you've done something silly. If the
problem still exists in 5.8
On Fri, 2002-10-11 at 23:08, Michael Fowler wrote:
> On Fri, Oct 11, 2002 at 04:40:30PM +0100, mike wrote:
> > ../build.pl
> > /root/cvs/esound # this the output of $dir3
> > /
> >
> > cannot change No such file or directory at ./build.pl line 13,
> > line 55.
> > this is ls in same directory, a
--- "Matthew C. Peterson" <[EMAIL PROTECTED]> wrote:
> while reading the o'eilly book 'learning perl' i came across a section
> dealing with reg. expressions for html. they recommended grabbing a robust
> module from cpan to help with these, but i can't quite seem to find one
> specifically for th
13 matches
Mail list logo