Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

RE: RE: Warning our Fellow Monks

by Ovid (Cardinal)
on Oct 12, 2000 at 00:05 UTC ( [id://36306]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %files = ( colors => 'colors.dat',
                  tests  => 'test.txt',
    ...
    
    open IN, "<$filepath/$files{$siteinfo[1]}" or
        someErrorRoutine( "Can't open $filepath/$siteinfo[1] for reading: 
    +$!" );
    
  2. or download this
     
    $siteinfo[1] =~ /^[^.]+/(\w+\.\w+)$/ or
        someErrorRoutine( "Regex failed" );
    my $fileToOpen = $1; # $fileToOpen untainted
    

Log In?
Username:
Password:

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

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

    No recent polls found