#2 suggestion: save_pwd

open
nobody
None
5
2002-02-22
2002-02-22
No

Trying the reload button failed with:

Can't open perl script "./guido.pl": Datei oder
Verzeichnis nicht gefunden (File or directory not
found)

It seems that the current directory changed while
playing with
guido. I see two solutions: make the path of guido.pl
absolute
(there is a method rel2abs in File::Spec), or use the
attached
function which makes sure that after leaving the block
the
user will still stay in the same directory.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks