Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Why are lines being skipped in output?

by bigearsbilly (Novice)
on Mar 19, 2008 at 11:24 UTC ( [id://674974]=note: print w/replies, xml ) Need Help??


in reply to Why are lines being skipped in output?

#!/usr/bin/perl -p s/th/TH/gi;

Replies are listed 'Best First'.
Re^2: Why are lines being skipped in output?
by halley (Prior) on Mar 19, 2008 at 16:36 UTC
    Aw, shucks.
    #!perl -pe s/th/TH/g
    Can't emulate -e on #! line at being_too_clever.pl line 1.

    --
    [ e d @ h a l l e y . c c ]

Re^2: Why are lines being skipped in output?
by ww (Archbishop) on Mar 19, 2008 at 11:37 UTC
    mmmm, need help with your "quick problem."
    1. what is the question?
    2. what is the problem?
    3. what is the input?
    4. what output are you looking for?
    Duh! Misread post above as OP. Apologies.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-03-28 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found