Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: File Find

by busunsl (Vicar)
on Jan 15, 2002 at 19:46 UTC ( #138924=note: print w/replies, xml ) Need Help??


in reply to File Find

Parameters for subroutines are stored in @_.

You should place a $_ = shift; at the beginning of change.

Or even better:

sub change { my $file = shift; if (-f $file && $file =~ /\.html$/) { . . .

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2023-12-11 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?