Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Don't have a COW? Get one!

by belg4mit (Prior)
on Nov 30, 2001 at 20:36 UTC ( #128654=note: print w/replies, xml ) Need Help??

in reply to Don't have a COW? Get one!

a) Generalize for Arrays, Hashes and objects?
b) rename($INC{''}, 'Clone/')?

perl -p -e "s/(?:\w);([st])/'\$1/mg"

Replies are listed 'Best First'.
Re: Re: Don't have a COW? Get one!
by japhy (Canon) on Nov 30, 2001 at 21:42 UTC
    I guess that would be the next step. I'm keeping it with scalars for now because it's simpler that way. And this wouldn't be a module, this would be a built-in magic behavior.

    Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

      Magic behavior for 5.8 or 6? If 6 then the apparent custom is to write a module that implements it for 5.6, no?

      perl -p -e "s/(?:\w);([st])/'\$1/mg"

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2020-07-14 23:40 GMT
Find Nodes?
    Voting Booth?

    No recent polls found