Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Creating an index on a string-collection

by AnomalousMonk (Bishop)
on Feb 09, 2009 at 08:00 UTC ( #742370=note: print w/replies, xml ) Need Help??


in reply to Re^3: Creating an index on a string-collection
in thread Creating an index on a string-collection

It does in  scalar context:
>perl -wMstrict -le "my $s = 'foobar'; print reverse $s, 'zot'; print scalar reverse $s, 'zot'; " zotfoobar tozraboof

Replies are listed 'Best First'.
Re^5: Creating an index on a string-collection
by samtregar (Abbot) on Feb 09, 2009 at 08:07 UTC
    Ah, thanks. Someday, when Perl is long gone, I'm not going to miss caring about what context my function calls are in!

    -sam

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2020-08-14 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (76 votes). Check out past polls.

    Notices?