Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Re: Help with Numbers..Please

by dakkar (Hermit)
on Apr 24, 2003 at 12:03 UTC ( #252860=note: print w/ replies, xml ) Need Help??

in reply to Re: Help with Numbers..Please
in thread Help with Numbers..Please

The docs say that the "string magic increment" works with variables that

has been used in only string contexts since it was set, and has a value that is not the empty string and matches the pattern "/^[a-zA-Z]*[0-9]*\z/"

        dakkar - Mobilis in mobile

Most of my code is tested...

Perl is strongly typed, it just has very few types (Dan)

Comment on Re: Re: Help with Numbers..Please
Download Code
Replies are listed 'Best First'.
Re: Help with Numbers..Please
by Reverend Phil (Pilgrim) on Apr 24, 2003 at 18:48 UTC
    Thanks for the warning. I have used the magical mystery increment quite often, and didn't realize that it could be problematic depending on previously used context for the variable. I'll have to look over some code to make sure (if I can find it), though I haven't had a problem with it yet.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2015-12-02 01:09 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (31 votes), past polls