Storing pids

Ulf Wiger <>
Wed Jan 4 23:04:52 CET 2006

Den 2006-01-04 19:53:22 skrev Joel Reymont <>:

> I can think of converting the pid to list and storing that in the disk  
> log instead of the pid. Is there a way to get the 3 components of the  
> pid in Erlang with some BIF? Then I could store them as numbers.

1> erlang:pid_to_list(self()).

Ulf Wiger

More information about the erlang-questions mailing list