Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Perl stops reading __DATA__ when meeting SUB character on Windows (history)

by Anonymous Monk
on Jan 06, 2014 at 02:00 UTC ( #1069440=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl stops reading __DATA__ when meeting SUB character on Windows (history)
in thread Perl stops reading __DATA__ when meeting SUB character on Windows

Um, do you have some code to demonstrate that? I tried and "Ctrl-Z" doesn't change DATA one way or another, I used v5.8.9

My codes Re: Perl stops reading __DATA__ when meeting SUB character on Windows (ddumper), Re^2: Perl stops reading __DATA__ when meeting SUB character on Windows (Ctrl-Z on STDIN)

My recollection of perl 5.6 is that it behaved the same way, only when using perl - does ctrl-z play a role

  • Comment on Re^3: Perl stops reading __DATA__ when meeting SUB character on Windows (history)
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1069440]
help
Chatterbox?
[choroba]: The redirections seem to happen right to left
[choroba]: but gurus say they in fact happen left to right, but we understand them wrongly
[marioroy]: bad gurus :)
[choroba]: also, &> redirects both at the same time
[marioroy]: erix are you using csh
Discipulus uh the link was for cmd.exe the bash one
[marioroy]: If yes, for redirection to work, one might do the following
[marioroy]: `bash -c "clang --version 2>/dev/null"`
[choroba]: Sane people don't use csh
[marioroy]: the 1>&2 will work, not shown

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2017-03-23 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (284 votes). Check out past polls.