Eyck has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to provide fd for Linux::INotify, but I'm having problems fetching that..., I tried something like that:
but all I get is:my ($fd); open($fd,"/tmp"); use Data::Dumper; print "PID: $$"; print Dumper(\$fd);
PID: 22117 $VAR1 = \\*{'::$fd'};Additionally I tried looking at that pid:
wraith eyck 11:17 ~> ls /proc/22117/fd -l total 0 lrwx------ 1 eyck root 64 Sep 13 11:17 0 -> /dev/pts/44 lrwx------ 1 eyck root 64 Sep 13 11:17 1 -> /dev/pts/44 lrwx------ 1 eyck root 64 Sep 13 11:17 2 -> /dev/pts/44 lr-x------ 1 eyck root 64 Sep 13 11:17 3 -> /tmpIs there a way to see that from inside?
Back to
Seekers of Perl Wisdom