Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Use of uninitialized value in pattern match (m//)

by jellisii2 (Hermit)
on Mar 18, 2015 at 11:51 UTC ( [id://1120429]=note: print w/replies, xml ) Need Help??


in reply to Use of uninitialized value in pattern match (m//)

File::Find might make some of your logic unnecessary...
  • Comment on Re: Use of uninitialized value in pattern match (m//)

Replies are listed 'Best First'.
Re^2: Use of uninitialized value in pattern match (m//)
by chris01010 (Novice) on Mar 18, 2015 at 12:45 UTC
    Thanks jellisii2, I'll have a read.

      File::Find::Rule is a much neater interface to File::Find :)

      use File::Find::Rule qw/ find rule /; my @files = find( file => name => 'OT', maxdepth => 1, in => $trans_dir, );
      now @files contains "$trans_dir/OTfile1" ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found