Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: autoconverting print to say

by ssandv (Hermit)
on Nov 13, 2009 at 23:29 UTC ( [id://807077]=note: print w/replies, xml ) Need Help??


in reply to autoconverting print to say

I'd be somewhat leery of doing it unless I knew a lot about the code base. To wit:
print " ",(join " \n",@list),"\n"; #one of many ways to indent a list print "$var\n" ; #replaced hardcoded 'print "hello\n";' line.
are just two of many strange things people might do that could match a s/^print(stuff)\\n(more stuff)/say $1$2/; line oddly.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found