FindBin will do what you want:
$ ls -l symlink
lrwxrwxrwx 1 david david 22 2011-02-08 10:54 symlink -> foo/bar
$ cd symlink
$ pwd
/home/david/symlink
$ ls -l ..
drwxr-xr-x 2 david david 4096 2011-02-08 10:54 bar
Note that ls shows us the contents of the parent of the *real* directory that we're in, not the contents of the directory containing the symlink. Symlinks are a bit weird.
$ perl -MFindBin -e 'print "$FindBin::Bin\n"'
/home/david/foo/bar
FindBin correctly resolves it, giving us the full path to the directory.