in reply to Re: get current script as text
in thread get current script as text
This was my idea, but without success still, close, but not cigar... I wonder why
open (my $foo, $0); # binmode $foo, raw; # nothing changes with or without this line print $foo; close $foo;
perl script.pl prints
GLOB(0x9b717dc)What I'm doing wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: get current script as text
by BrowserUk (Patriarch) on Apr 24, 2012 at 14:51 UTC | |
by pvaldes (Chaplain) on Apr 24, 2012 at 15:46 UTC |