Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: File Find

by busunsl (Vicar)
on Jan 15, 2002 at 19:46 UTC ( [id://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: (4)
As of 2024-04-22 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found