Group,
First of all thanks to all who have written on this subject up until this
point. I have learned a lot - but..
I have a problem - actually two.
I have the following code:
#!c:\perl\bin\perl.exe
use Win32::OLE qw( in );
my $path = 'c:\web\html\download\requisition\IT66_0.rtf';
When I was learning Perl, I really liked the O'Reilly book: "Learning Perl"
(aka the llama book) fits your requirements. It explains from the ground up
with lots of exercises.
I've used a lot of the O'Reilly Perl books and I've really liked them. Also
check out "Programming Perl" (aka the camel
> Would you please recommend an introductory level book.
> I prefer ones with alot of tutorials/projects.
> A book of projects would be great.
Randal Shwartz's 'Learning Perl' uses plenty of examples and explains perl
well
Followed by Tom Christiansen / Nathan Torkington 'Perl Cookbook'
if you a
Here is it again, the 'off-topic-thread-that-just-won't-go-away' : -)
An interesting post was made yesterday on the [EMAIL PROTECTED]
mailing list on the subject of M$ and security, under the title
"Security Problems Won't Go Away With Microsoft"
You can read it on line at :
http://onli
Would you please recommend an introductory level book.
I prefer ones with alot of tutorials/projects.
A book of projects would be great.
I am fair with VB and Javascript.
Thanks for your time,
Todd
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED
I find that VIM for windows is my preferred windows editor too:-)
> -Original Message-
> From: Warkentin, Brad [mailto:[EMAIL PROTECTED]]
> Sent: Friday 10 May 2002 15:58
> To: 'Martin Moss'; [EMAIL PROTECTED]
> Subject: RE: Preferred PERL Editor
>
>
> Martin Moss [mailto:[EMAIL PROTECT
Actually, that didn't work quite like I thought it did. The output was of
course going to stderr and wasn't captured by the $output variable.
> -Original Message-
> From: Thomas_M [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 10:47 AM
> To: 'Tillman, James'; [EMAIL PROTECTED]
>
Martin Moss [mailto:[EMAIL PROTECTED]] ponders:
> Doesn't anybody still use VI these days?? :-)
vim for quick and dirty (faster launch times), XEmacs for real editing
bj
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listse
Scott,
You are right. The port value is the upper of two big-endian shorts. The
second short is not used. My goof.
James
'Reading the documentation is ALWAYS the cowards last resort..'
use strict;
use Win32::API;
my $api = new Win32::API("iphlpapi.dll", "GetTcpTable", ['P','P','N'], 'N')
> Doesn't anybody still use VI these days?? :-)
>
Strangely enough, I use vim for system admin tasks and Xemacs for coding.
Talk about a schizo!
Vim almost always installed on *nix and easy to get for Win32 via CygWin so
having "vim reflexes" at the command line is handy, but I like Xemacs's
> Oops, sorry, I should have specified that I don't want the
> perl code to actually run in any context, especially that of
> my own program. I just want the syntax checked as in "perl -c".
$code = q($a=5; print a++);
$output = `perl -ce $code`;
# output:
# syntax error at -e line 1, near "++
Doesn't anybody still use VI these days?? :-)
Marty
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Tillman, James
> Sent: Friday 10 May 2002 15:37
> To: 'Warkentin, Brad'; 'Lee Goddard'; Aaron Trevena; Simon Oliver
> Cc: [EMAIL PROTECTED]
> Subj
> It's not an editor... its a lifestyle... though in the spirit of full
> disclosure, now that OS's have GUIs I do wander out of Emacs
> to do some
> stuff.
Not to start YET ANOTHER RELIGIOUS WAR (YARW), but XEmacs does quite nicely
on both Linux and Win32. So you can have your GUI and your EMA
Lee Goddard [mailto:[EMAIL PROTECTED]] wrote:
> Okay, where do I get Xemacs?
> Only kdding - getting it now...
Welcome to the one true editor... :-)
It's not an editor... its a lifestyle... though in the spirit of full
disclosure, now that OS's have GUIs I do wander out of Emacs to do some
stu
Okay, where do I get Xemacs?
Only kdding - getting it now...
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
At 08:58 10/05/2002 -0400, Tillman, James wrote:
>Certainly, but I'll wager there are very, very, very few VB-only programmers
>who deserve the label of "hacker" ;-)
Hacker in the sense of hacking together bits of other
people's stuff and calling it Art... or their own.
As in newspaper reporte
re: emacs
> > >Also, no blinking bracket matching, doesn't understand qq{}, qw//, etc.
> >
> > What is blinking bracket matching?
> Xemacs blinks the matching bracket when your on the other match.
Xemacs also has other nifty features such as warning you of unmatched
heredoc, brackets and incompl
> Try:
>
> eval $perl_code;
> print $@ if $@;
>
> instead of the check_syntax call. It worked with this simple
> one-liner:
>
> perl -e "$code='$answer=';eval $code; print $@ if $@;"
Oops, sorry, I should have specified that I don't want the perl code to
actually run in any contex
"Joseph P. Discenza" wrote:
>
> Tillman, James wrote, on Friday, May 10, 2002 9:03 AM
> : Does anyone know of an easy way to syntax-check the contents of a Perl
> : variable as if it were Perl code? I want to avoid running "perl
> : -c" from my
> : program, primarily because I'll have to use a t
Lee Goddard wrote:
>
> >Also, no blinking bracket matching, doesn't understand qq{}, qw//, etc.
>
> What is blinking bracket matching?
Xemacs blinks the matching bracket when your on the other match.
> It can find the next bracket fo the set if you use CTRL+M:
> holding down SHIFT at the same t
Tillman, James wrote, on Friday, May 10, 2002 9:03 AM
: Does anyone know of an easy way to syntax-check the contents of a Perl
: variable as if it were Perl code? I want to avoid running "perl
: -c" from my
: program, primarily because I'll have to use a temporary file for
: the output
: (or th
Does anyone know of an easy way to syntax-check the contents of a Perl
variable as if it were Perl code? I want to avoid running "perl -c" from my
program, primarily because I'll have to use a temporary file for the output
(or the input, depending).
What I want is something like this:
#
> Biggest problem I can find with Perl is that it is free, and
> relatively easy.
Agreed!
> I suppose there are a lot of hackers who give Perl Hackers a
> bad name, but isn't that the case with VB and C++?
Certainly, but I'll wager there are very, very, very few VB-only programmers
who deserv
At 06:52 10/05/2002 -0400, Tillman, James wrote:
>Anyway, I hope all this helps. For what it's worth, my employer doesn't
>promote the use of Perl either, despite the fact that I use it daily in
>project management tasks to save hours of time and I have put together a
>completely functional Cont
24 matches
Mail list logo