December 1st, 2000, 01:31 AM
I've been using Perl for some time now, and never got around this one. Can anyone tell me the basic difference between these functions??
December 5th, 2000, 05:36 PM
q// is generally the same thing as using single quotes - meaning it doesn't interpolate values inside the delimiters.
qq// is the same as double quoting a string. It interpolates.
qw// return a list of white space delimited words. @q = qw/this is a test/ is functionally the same as @q = ('this', 'is', 'a', 'test')
qx// is the same thing as using the backtick operators.
I've never used qr//, but it's got something to do with compiling regex's for later use.
December 6th, 2000, 01:50 AM
Thanks a lot, that really clears things up. Thanks again...