Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Use of uninitialized value $_ in string

by juanpablo (Novice)
on Apr 05, 2014 at 13:56 UTC ( [id://1081242]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $conf = "$_";
    my $conf_bn = basename($conf);
    ...
    my $backup = "$conf.$date";
    my $backup_bn = basename("$conf.$date");
    my $ltime = localtime();
    
  2. or download this
    sub add_vhost {
            my $conf;
            my $conf_bn;
            my $ltime;
    
  3. or download this
    foreach (@object) {
        my $conf = "$_";
    ...
        my $backup = "$conf.$date";
        my $backup_bn = basename("$conf.$date");
        my $ltime = localtime();
    
  4. or download this
    [root@wsprod01 myperl]# ./test.pl --domain google.com --client google
    Usage: ./test.pl --domain companydomain.com --client company [--job-co
    +de 12345] [--help].
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-25 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found