Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: File modification

by roboticus (Chancellor)
on Jul 07, 2006 at 12:51 UTC ( [id://559778]=note: print w/replies, xml ) Need Help??


in reply to Re: File modification
in thread File modification

liverpole:

++ Excellent suggestions!

One trivial note, though: Your blank lines appear to be a long string of blanks, as there are many unexpected line continuation characters on the screen here. (I just did a view source: The code lines don't appear to have trailing blanks, but all the blank lines do. I don't know if it's an artifact of how you pasted the code in, but I thought I'd mention it.)

--roboticus

Replies are listed 'Best First'.
Re^3: File modification
by liverpole (Monsignor) on Jul 07, 2006 at 13:05 UTC
    Thanks, roboticus, for your kind comments, and the feedback about the "long lines".  I've fixed them.

    Yes you're right, it is an artifact of cut-and-paste.  I've seen it before, and usually just fix it by hand, though it can be tedious if it's a long program.  I don't know if it's the browser I'm using (Firefox), or if there's some easier way to fix it, but I'd be glad to hear of anyone else who's found a simpler solution.


    s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
Re^3: File modification
by shmem (Chancellor) on Jul 07, 2006 at 18:38 UTC
    ++liverpole,

    just to be pedantic... ;-)

    • check the return value of close FH (think NFS; file system full?)

    --shmem

    oops, this leaf wrong twig :-P

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found