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

snippets library

by Anonymous Monk
on Jan 11, 2000 at 03:22 UTC ( #1957=monkdiscuss: print w/replies, xml ) Need Help??

I'd like to see a collection of small useful code chunks. I imagine there's a good place for this somewhere on the web but I don't know where, and this seems like a good place.
e.g.
  • code to split an apache log line
  • code to lowercase all files in a dir
  • etc.

Replies are listed 'Best First'.
RE: snippets library
by vroom (Pope) on Jan 11, 2000 at 03:53 UTC
    Good idea... I'll add that in tomorrow, or maybe Thursday...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://1957]
This node hasn't been approved yet
help
Chatterbox?
[ikegami]: That should be ${ $hash{$key} }[$_] because it's $a[$_] when you don't use a ref.
[oiskuu]: James, that's an array slice you have there (over some hash value)
[ikegami]: Mini-Tutorial: Dereferencing Syntax

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-04-27 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.