Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^3: shift doesnt shift

by vlsimpson (Beadle)
on Nov 27, 2008 at 20:31 UTC ( #726479=note: print w/replies, xml ) Need Help??

in reply to Re^2: shift doesnt shift
in thread shift doesnt shift

Sometimes it pays not to depend on the default targets.

I've banged my head on similar problems just because I didn't know or misunderstood what was being read.

So now I always use whatever is needed explicitly, e.g., shift(@ARGV). But that's just me because I basicly suck at programming ;). Not a pro by any means.

Replies are listed 'Best First'.
Re^4: shift doesnt shift
by jplindstrom (Monsignor) on Nov 28, 2008 at 12:19 UTC
    Personally I'm not a big fan of implicit things like that.

    I never use $_ unless I "have to", like in a map, because not naming the variable is a lost opportunity to write clear, self documenting code.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2023-03-25 20:34 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.