unix perl script problem...



  • Hello,

    I’ve a problem with my perl script (for linux) editing with NP++.

    As sample…

    ====================

    sub Wanted_Files {
    my $lFileName = $_;

        (my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks) = stat($lFileName))
                && -f _
                && ( $lFileName !~ /^\./ )
                && push (@{$FileList{$FindPath}}, $lFileName);
    

    }

    ====================

    In NP++ the “&&” entries are all invisible or white, don’t know. They are scrollable as char, but not visible.
    Is this a bug or some problem of the perl language view in NP++?

    Thank you for hints and help.

    Robert



  • Hello Robert-S.-Irrgang,

    did you modify the style or using a different theme (different from default)?
    Do you edit on windows or on linux using wine?
    Which npp version do you use?

    Cheers
    Claudia



  • Version is 6.8.8 and no changes by myself. All default settings for design. Runing on Windows 10.

    And btw… all “&” are invisible, not only “&&”.



  • Sorry, edit did not work…

    Version is 6.8.8 and no changes by myself. All default settings for design. Runing on Windows 10. Default font setting is “Source Code Pro” 10pt.

    Sometimes I edit the files on linux with vi and sometime on Windows with np++.

    And btw… all “&” are invisible, not only “&&”.

    I can post an image with the view in linux terminal and in np++. All files are on linux in unix format.



  • Default font setting is “Source Code Pro” 10pt.

    Use a different font. There is a problem with Source Code Pro.



  • Ok, thank you! I try it!


Log in to reply