Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: difference between ($scalar) and $scalar

by DrZaius (Monk)
on Jul 21, 2001 at 22:48 UTC ( [id://98683]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: difference between ($scalar) and $scalar
in thread difference between ($scalar) and $scalar

Look at your spacing and what you are using for the qw delimiters.

My code uses qw$$ while yours uses qw().

Try these:

perl -e 'my $rev = (qw$Revision: 1.41 $)[-1]; print $rev, "\n"' perl -e 'my $rev = (qw($Revision: 1.41 $))[-1]; print $rev, "\n"'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-04-23 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found