in reply to Re^5: writing a pragma
in thread writing a pragma
I want to write a pragma, which reads the contents of file where it is imported.
1. use mypragma;
2. use Data::Dumper;
3. my $hash = {1,2,3,4,5,6}
4. print Dumper $hash;
I want to get the lines from 2,3,4 into the mypragma which was loaded into memory for this program.
I am not sure that this is possible, I just want to try.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: writing a pragma
by Anonymous Monk on Apr 27, 2014 at 10:28 UTC | |
by karthikasasanka (Acolyte) on Apr 28, 2014 at 09:17 UTC | |
by Anonymous Monk on Apr 28, 2014 at 09:53 UTC | |
by karthikasasanka (Acolyte) on May 06, 2014 at 05:01 UTC |