Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl stops reading __DATA__ when meeting SUB character on Windows (ddumper)

by Anonymous Monk
on Jan 03, 2014 at 01:05 UTC ( [id://1069056]=note: print w/replies, xml ) Need Help??


in reply to Perl stops reading __DATA__ when meeting SUB character on Windows

Sure it doesn't :) ... prove it
#!/usr/bin/perl -- use strict; use warnings; use Path::Tiny qw/ path /; path( 'yada' )->spew_raw( "#!/usr/bin/perl -- use strict; use warnings; use Data::Dump qw/ dd /; while(<DATA>){ dd( \$_ ); } __DATA__ before sub the \32 after sub" ); system $^X, 'yada'; path( 'yada' )->remove;
  • Comment on Re: Perl stops reading __DATA__ when meeting SUB character on Windows (ddumper)
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1069056]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found