Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: greping for names

by moxliukas (Curate)
on Jul 19, 2002 at 14:43 UTC ( [id://183252]=note: print w/replies, xml ) Need Help??


in reply to Re: greping for names
in thread greping for names

However IMHO this approach is more fragile. I am not sure how this would work on different platforms, because new line is two characters wide on some platforms and only one character wide on the others.

I might be picky, but if you are really going for speed, use single qoutes istead of double (I know in reality it makes almost no difference, and I'm just being picky ;)

Replies are listed 'Best First'.
Re: Re: Re: greping for names
by Shendal (Hermit) on Jul 19, 2002 at 15:28 UTC
    For the record, ".c" will get optimized to '.c', so it really doesn't matter. Consider
    % perl -MO=Deparse -e 'print ".c";' -e syntax OK print '.c';

    Cheers,
    Shendal

Log In?
Username:
Password:

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

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

    No recent polls found