|
|||||||||||||||||||||||||||
Ole Tange <sslug@sslug> writes:
> $foobar indeholder jo kun navnet på filen, ikke indeholdet. Du skal nok:
Netop. Læs 'perldoc -f do' og hop ned til hvor der står 'do EXPR':
do EXPR Uses the value of EXPR as a filename and executes
the contents of the file as a Perl script. Its
primary use is to include subroutines from a Perl
subroutine library.
do 'stat.pl';
[...]
Du tænker på eval.
--
Emacs er det eneste moderne styresystem der ikke er multitrådet.
|
||||||||||||||
|
||||||||||||||