cperl icon indicating copy to clipboard operation
cperl copied to clipboard

A perl5 with classes, types, compilable, company friendly, security

Results 103 cperl issues
Sort by recently updated
recently updated
newest added
trafficstars

``` class XX { has @array; has %hash; } my $obj = new XX; $obj->array[0]; # -> aelem $obj->hash{0}; # -> helem ```

enhancement
ready

See https://rt.perl.org//Public/Bug/Display.html?id=119045. Fixing Text::Aligner is trivial via distroprefs or a patch. Revert f99a5f08f203af84430e677e25df49557c55c24f but the question is if this is really a good idea. The list is readonly already. cperl...

enhancement

c-like struct layout. depends on native types #14 and the ffi #22

See https://docs.perl6.org/language/typesystem#index-entry-Enumeration-_Enums-_enum Basically constant typed arrays (Int or Str), starting with 0, with auto-incrementing values which can be overridden by using an optional pair syntax in the decl. The current...

enhancement

Use the wide api for all paths and names and convert to wtf-8 (almost utf-8). e.g. almost as in cygwin. Done only for getdcwd() with overlong paths 39824982ef361bab49933991ae88b5a043c678c7 Need to...

enhancement

``` $i || (1,2) or LIST ignores the list $i or (1,2) ... print ($i or (1,2)) => 12 ``` consistent would be for the not-empty list either 1. to...

bug

nextstate is the statement ending op. At every `;` it unnecessarily resets the stack to 0, and unnecessarily calls TMPSFLOOR, and as thus it is by far the slowest op...

enhancement

See https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt why. It adds a NULL byte every 4KB (page) when growing the stack, i.e. many or big local vars, varargs or alloca. https://gcc.gnu.org/onlinedocs/gccint/Stack-Checking.html We don't yet use alloca,...

enhancement
security

Pragma to disallow user-visible magic: tie and overload hooks. ``` { no magic; use Config; print $Config{'ccflags'}; } => compile-time error: Invalid use of tie with no magic ``` use...

enhancement

from javascript optimizers: parse function bodies only when executed or inspected. keep it as string, webkit even only stores the range in the file, which is mapped. before starting we...

enhancement