?

Log in

No account? Create an account
Perl-SC pre-release - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Perl-SC pre-release [Dec. 1st, 2001|04:12 pm]
LiveJournal Client Discussions

lj_clients

[sapphirecat]
[mood |accomplishedaccomplished]

I've been playing with the Perl LJ client on and off (mostly off) for the past couple of months. Today, I kicketh my butt to make a pre-release instead of letting more feature creep take over.

If you're foolhardy enough to skip the release notes / download page, the tarball is available here. It has only been tested on my Linux box.

Anyone with a BSD box who knows what they're doing is especially encouraged to look at it. I remember stty works differently on BSD, but I don't know how. Thanks in advance...

linkReply

Comments:
From: ex_earthquak329
2001-12-05 10:55 am (UTC)

Perl 5.6-specific code?

Character class syntax [: :] is reserved for future extensions at ./sclj-2.4-pre.pl line 915.
Character class syntax [: :] is reserved for future extensions at ./sclj-2.4-pre.pl line 936.

Seems that you've got some Perl 5.6-specific code in there. I'm running your prerelease on FreeBSD 4.4 with its default perl interpreter ("This is perl, version 5.005_03 built for i386-freebsd.")

I'd suggest either changing those [[:digit:]] and [[:alnum:]] RE's to the older [0-9] or \d style so that the program works everywhere. The RE's fail to match properly on older perl interpreters the way that it is currently written and not everyone has upgraded to the newest perl yet. Or change "use 5.004;" to "use 5.6;" (or whatever the appropriate version string is), so that those who haven't upgraded to the appropriate perl will at least know that it won't work.
(Reply) (Thread)
[User Picture]From: sapphirecat
2001-12-05 11:31 am (UTC)

Fixed in 2.4

Thanks. Oddly, the perlre(1) manpage doesn't mention that.
(Reply) (Thread)