in reply to Re: Print Current Program Source Code
in thread Print Current Program Source Code
You can have spaces in filenames on Linux (and Unix) too. And using qq// would avoid all that ugly escaping.
system(qq(cat "$0"));
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Print Current Program Source Code
by tinita (Parson) on Aug 18, 2006 at 12:01 UTC |