Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by DrZaius (Monk)
on Jul 21, 2001 at 22:48 UTC ( #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? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2021-10-21 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (83 votes). Check out past polls.

    Notices?