ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-porters
perl-win32-porters
Re: Porting Perl 5.6 to Perl 5.8 need \P{print}
by Frank Merrow other posts by this author
Apr 6 2007 7:32AM messages near this date
view in the new Beta List Site
Re: Porting Perl 5.6 to Perl 5.8 need \P{print} | Re: Porting Perl 5.6 to Perl 5.8 need \P{print}
> I wondered whether this "print.pm" (which I've never heard of) might
> still
> be functional on perl 5.8.

I actually misspoke (or wrote) here a little bit.  The actual name of 
the script is print.pl not print.pm.

You should find it by that name without issues in your Perl 5.6 installation.

> But I can't find it anywhere. My build (638) of ActivePerl 5.6 doesn't
> have
> it - there's no mention of it at
> http://ppm.activestate.com/BuildStatus/5.6-P.html , and I couldn't find
> it
> on CPAN either.

The \p{charclass} was handled by calling a perl script of the same 
name to provide a table.  For instance my example would invoke 
charclass.pl.  This wasn't that convenient BTW as one of our users 
created a script called print.pl and it took a me awhile to figure 
out who was calling it and why.

Those "character class scripts" seem to be missing from my Perl 5.8 
installation . . .

> If it's a pure perl module you could try copying it across from your 5.6

Yeah, I could . . . assuming that still working in Perl 5.8 (not sure 
either way on that score).

However, after I dug around a little bit I found \P{IsPrint} . . . 
though it was pointed out to me in a private email that IsPrint and 
print do almost the same thing, but IsPrint would not find VT, HT or 
FF . . . so I still have some work to do.

Frank

_______________________________________________
Perl-Win32-Porters mailing list
Perl-Win32-Porters@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Frank Merrow
Sisyphus
Frank Merrow
Frank Merrow

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved