Relative Content

Tag Archive for perl

Perl beginner: IF syntax for empty input

I have typed a little program to refresh my Perl knowledge, especially the IF and Else-Case I was interested in. How do I make Perl recognize that the input was empty? I checked the input with “==” and also with “eq” but my program always says “You have typed nothing!”.

Per include large amount of code very slow

We generate large sequences of perl code and include it into a driver program. On a newer system version it takes a very long time to process the include. Any ideas where to start looking?