adcoment has asked for the wisdom of the Perl Monks concerning the following question:
$ cat ./fifo.pl #!/usr/bin/perl open(FIFO, "> ./test.fifo") or die $!; print FIFO "Smoke this.\n" . $0; close(FIFO); $ perl fifo.pl $ ln -s test.fifo foo $ cat foo Smoke this. fifo.plSo $0 is the script name, what $""?"" is the symlink path and/or name? Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Named Pipe, Linking to It and Knowing the Name of the Link
by roboticus (Chancellor) on Jul 27, 2010 at 03:28 UTC | |
|
Re: Named Pipe, Linking to It and Knowing the Name of the Link
by ikegami (Patriarch) on Jul 27, 2010 at 04:01 UTC | |
|
Re: Named Pipe, Linking to It and Knowing the Name of the Link
by cdarke (Prior) on Jul 27, 2010 at 12:11 UTC | |
|
Re: Named Pipe, Linking to It and Knowing the Name of the Link
by morgon (Priest) on Jul 27, 2010 at 06:32 UTC | |
|
Re: Named Pipe, Linking to It and Knowing the Name of the Link
by JavaFan (Canon) on Jul 27, 2010 at 07:49 UTC | |
|
Re: Named Pipe, Linking to It and Knowing the Name of the Link
by adcoment (Initiate) on Jul 27, 2010 at 23:04 UTC |