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

Re^2: File ext number

by ikegami (Patriarch)
on Mar 20, 2010 at 03:13 UTC ( [id://829749]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $file (sort grep -f, readdir $dh)
    
  2. or download this
    for my $file (sort @files)
    
  3. or download this
    use constant TWO => 2;
    
  4. or download this
    use constant NUM_EYES => 2;
    
  5. or download this
      my $num = 1;
      if (exists $extensions{$key}) {
    ...
      else {
        $extensions{$key} = $num;
      }
    
  6. or download this
      if (defined $extensions{$key}) {
        $extensions{$key} += 1;
    ...
      else {
        $extensions{$key} = 1;
      }
    
  7. or download this
      ++$extensions{$key};
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2024-04-25 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found